EDITED: Generating Key for standalone

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
simon.schvartzman
Posts: 638
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

EDITED: Generating Key for standalone

Post by simon.schvartzman » Thu Feb 11, 2021 8:42 pm

Hi all, I'm trying to create a new Self-Signed Certificate for an Android App following this lesson (https://lessons.livecode.com/m/4069/l/3 ... ndroid-app as I have done in the past but now I'm getting an error to which I have no idea how to fix. Not sure what am I doing wrong this time.

Just in case:
- macOS Mojave 10.14.6
- java version "1.8.0_181"

Somebody can help please?
Simons-MacBook-Air:~ simonschvartzman$ keytool -genkey -v -keystore release.keystore -alias AppV1 -keyalg RSA -keysize 2048 -validity 10000
Enter keystore password:
keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:780)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)
at java.security.KeyStore.load(KeyStore.java:1445)
at sun.security.tools.keytool.Main.doCommands(Main.java:926)
at sun.security.tools.keytool.Main.run(Main.java:366)
at sun.security.tools.keytool.Main.main(Main.java:359)
Caused by: java.security.UnrecoverableKeyException: Password verification failed
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:778)
... 7 more
Simons-MacBook-Air:~ simonschvartzman$
Many, many thanks...

EDITED: found the solution. It is about using the same Password I used during the last time I generated a key for a new App
Simon
________________________________________
To ";" or not to ";" that is the question

Post Reply

Return to “Android Deployment”