You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure how to give you a short runnable example that reproduces this issue.
And giving you the extreme amount of information from a log_level = 2 in buildozer.specseems like extreme overkill.
When I try to run "buildozer android release" in Terminal on Ubuntu 18.04 I get the strange error "Keystore was tampered with, or password was incorrect" as seen below in the log.
I HAVE run the following, just before, in the same Terminal-window:
[INFO]: Selecting java build tool:
[INFO]: Detected highest available build tools version to be 30.0.0-rc1
[INFO]: Building with gradle, as gradle executable is present
[DEBUG]: -> running gradlew assembleRelease
[DEBUG]:
[DEBUG]: > Task :compileReleaseJavaWithJavac
[DEBUG]: Note: Some input files use or override a deprecated API.
[DEBUG]: Note: Recompile with -Xlint:deprecation for details.
[DEBUG]: Note: Some input files use unchecked or unsafe operations.
[DEBUG]: Note: Recompile with -Xlint:unchecked for details.
[DEBUG]:
[DEBUG]:
[DEBUG]: FAILURE: Build failed with an exception.
[DEBUG]:
[DEBUG]: * What went wrong:
[DEBUG]: Execution failed for task ':packageRelease'.
[DEBUG]: > com.android.ide.common.signing.KeytoolException: Failed to read key geo-esp-app-sign-key2-alias from store "/home/henrik/keystores/geo-esp-app-sign-key2.keystore": Keystore was tampered with, or password was incorrect
[DEBUG]:
[DEBUG]: * Try:
[DEBUG]: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[DEBUG]:
[DEBUG]: * Get more help at https://help.gradle.org
[DEBUG]:
[DEBUG]: BUILD FAILED in 14s
[DEBUG]: 28 actionable tasks: 28 executed
I tried the suggestions of the 2 first answers on:
Considering the reply I received when I posted this problem here:
https://groups.google.com/forum/#!topic/kivy-users/hFb4w-HysmI
It seems to me, that this is a bug in Buildozer or the guide "Creating a Release APK" - https://github.com/kivy/kivy/wiki/Creating-a-Release-APK .
I am not sure how to give you a short runnable example that reproduces this issue.
And giving you the extreme amount of information from a
log_level = 2
inbuildozer.spec
seems like extreme overkill.The buildozer.spec is below.
Versions
Description
The following was copied from https://groups.google.com/forum/#!topic/kivy-users/hFb4w-HysmI :
When I try to run "buildozer android release" in Terminal on Ubuntu 18.04 I get the strange error "Keystore was tampered with, or password was incorrect" as seen below in the log.
I HAVE run the following, just before, in the same Terminal-window:
cd
mkdir -p ~/keystores/
keytool -genkey -v -keystore ~/keystores/geo-esp-app-sign-key2.keystore -alias geo-esp-app-sign-key2-alias -keyalg RSA -keysize 2048 -validity 20000
export P4A_RELEASE_KEYSTORE=~/keystores/geo-esp-app-sign-key2.keystore
export P4A_RELEASE_KEYSTORE_PASSWD=android
export P4A_RELEASE_KEYALIAS_PASSWD=android
export P4A_RELEASE_KEYALIAS=geo-esp-app-sign-key2-alias
buildozer android release
Here comes the log output from Buildozer:
[INFO]: Selecting java build tool:
[INFO]: Detected highest available build tools version to be 30.0.0-rc1
[INFO]: Building with gradle, as gradle executable is present
[DEBUG]: -> running gradlew assembleRelease
[DEBUG]:
[DEBUG]: > Task :compileReleaseJavaWithJavac
[DEBUG]: Note: Some input files use or override a deprecated API.
[DEBUG]: Note: Recompile with -Xlint:deprecation for details.
[DEBUG]: Note: Some input files use unchecked or unsafe operations.
[DEBUG]: Note: Recompile with -Xlint:unchecked for details.
[DEBUG]:
[DEBUG]:
[DEBUG]: FAILURE: Build failed with an exception.
[DEBUG]:
[DEBUG]: * What went wrong:
[DEBUG]: Execution failed for task ':packageRelease'.
[DEBUG]: > com.android.ide.common.signing.KeytoolException: Failed to read key geo-esp-app-sign-key2-alias from store "/home/henrik/keystores/geo-esp-app-sign-key2.keystore": Keystore was tampered with, or password was incorrect
[DEBUG]:
[DEBUG]: * Try:
[DEBUG]: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[DEBUG]:
[DEBUG]: * Get more help at https://help.gradle.org
[DEBUG]:
[DEBUG]: BUILD FAILED in 14s
[DEBUG]: 28 actionable tasks: 28 executed
I tried the suggestions of the 2 first answers on:
https://stackoverflow.com/questions/32987530/android-studio-keystore-was-tampered-with-or-password-was-incorrect
But that didn't help.
Command: buildozer android release
buildozer.spec file:
Logs
The text was updated successfully, but these errors were encountered: