Hello.
I’m trying to create apk file of my android app. I add new workflow and add to my workflow 2 steps (Script and Deploy to Bitrise.io)
I use this script:
#!/bin/bash
set -e
set -x
mkdir -p ./keystore
echo y | keytool -genkeypair -dname "cn=Test, ou= Test, o= Test, c= Test " \
-alias TestTest -keypass TestTest -keystore ./keystore/android.keystore \
-storepass TestTest -validity 25
I build project, downloaded src.zip (screenshot) from bitrise when project build success and got android.keystore, I put android.keystore to root of my project and add this code to my gradle.
signingConfigs {
production {
storeFile file("../keystore/android.keystore")
storePassword "TestTest"
keyAlias "TestTest"
keyPassword "TestTest"
}
}
buildTypes {
release {
signingConfig signingConfigs.production
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
I changedI in bitrise my triger to “deploy” and did push to bitbucket, and bitrise started building project, but I got 2 errors with (cache-pull@1.0.0, gradle-runner@1.7.0) exit code: 1 .
My log
How can I solve this problem?
Thanks