bubblewrap icon indicating copy to clipboard operation
bubblewrap copied to clipboard

v1.22 having issues with existing and new .keystore files.

Open dhalldmg opened this issue 1 year ago • 1 comments

I've updated to 1.22 and have deleted my .bubblewrap directory to allow BW to download everything it needs fresh.

When doing bubblewrap update / bubblewrap build I'm getting: Failed to load signer "signer #1" java.io.IOException: Keystore was tampered with, or password was incorrect

Two weeks ago I updated this app and I know the password is correct and the .keystore file has not been changed.

As an experiment I attempted to create a new app with bubblewrap init. That process prompted to create the keystore and everything new, then bubblewrap build failed with an error not able to load the 'android' alias in the newly created keystore file.

dhalldmg avatar Aug 08 '24 18:08 dhalldmg

The exact error when trying to make a new app with "bubblewrap init" and using BW to generate a keystore and then running bubblewrap build is: Failed to load signer "signer #1" _java.io.IOException: Failed to obtain key with alias "android" from /(PATH TO FILE)/android.keystore.

Running keytool -v -list -keystore android.keystore returns the following:

Keystore type: PKCS12 Keystore provider: SUN

Your keystore contains 1 entry

Alias name: android Creation date: Aug 8, 2024 .....

Update It looks like a similar issue was reported in https://github.com/GoogleChromeLabs/bubblewrap/issues/837 and https://github.com/GoogleChromeLabs/bubblewrap/issues/606

dhalldmg avatar Aug 08 '24 20:08 dhalldmg