Now I need to enter key store password and key password every time I generate a signed bundle even with a checked "Remember passwords". It seems to appear with my new configuration of Android Studio 4.2 and Gradle 4.2.0
With the remembered passwords, I now got as the result of generating bundle "Password verification failed" With re-entering the passwords, the generation goes fine.
What went wrong ?
Update : new version 4.2.1 of Android Studio. Still I can't build two releases in a row :
21:29 Executing tasks: [:app:bundleRelease] in project D:\Android Studio Projects\Acme
21:30 Gradle build finished in 52 s 8 ms
21:30 Generate Signed Bundle
App bundle(s) generated successfully for module 'Acme.app' with 1 build variant:
Build variant 'release': locate or analyze the app bundle.
21:30 Executing tasks: [:app:bundleRelease] in project D:\Android Studio Projects\Acme
21:31 Gradle build failed in 34 s 262 ms
21:31 Generate Signed Bundle: Errors while building Bundle file. You can find the errors in the 'Messages' view.
Execution failed for task ':app:signReleaseBundle'. A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable Failed to read key acme_alias_name from store "D:\Android Studio Projects\acme\app\my-release-key.keystore": Keystore was tampered with, or password was incorrect
It's a bug introduced in the last studio version. Worked fine for years, with this version after generating a signed APK changing projects or modules results in this error on the next APK generation. They're corrupting the passwords, it's nothing to do with the file name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With