Hi! I created a keystore, so I could publish the app to Google Play. I tried using the keystore and then this happened (see picture). Thanks!
Hello,
Did you create the keystore by following the directions here?
https://docs.coronalabs.com/guide/distribution/androidBuild/index.html#signrelease
Brent
Yes, I did.
Can you post the exact command line command you entered?
Did it prompt you for things like your name, your company unit, name and location and a couple of passwords?
Rob
It did.
This was helpful.
Your keystore isn’t where you think it is. If you look at your original post and look at the path to your keystore is something like:
C:\Users\Luke\somereallylongrandomlikestring\_path\_to\_your\_game\mykeystore.keystore.
However, when you made your keystore, you were located in the folder:
C:\Users\Luke\
That means keytool wrote your keystore file out to that folder making the path to it:
C:\Users\Luke\mykeystore.keystore
When picking your keystore file, navigate to C:\Users\Luke and select mykeystore.keystore from there.
Rob
I had done that originally. I just created a new one just so I could get the screenshots.
Try using the new one.
Didn’t work.
What version of the Java JDK do you have installed?
Normally we wouldn’t expect keytool.exe to be installed in the path. Normally you have to do a change directory command, something like:
cd C:\Program Files (x86)\java\jdk-1.8.34\bin (where the path is specific for the version you have installed)
Then you can run:
keytool.exe keytool.exe -genkey -v -keystore %USERDIR%\mykeystore.keystore -alias aliasname -keyalg RSA -validity 999999
where of course you substitute the name of mykeystore.keystore to the keystore file you want to use and aliasname to a reasonable name for your app.
The %USERDIR% will put the keystore file in your C:\Users\Luke folder.
If you can, take a screen shot of that folder and share it.
Rob
I used my Mac’s Terminal, and it worked.
Hello,
Did you create the keystore by following the directions here?
https://docs.coronalabs.com/guide/distribution/androidBuild/index.html#signrelease
Brent
Yes, I did.
Can you post the exact command line command you entered?
Did it prompt you for things like your name, your company unit, name and location and a couple of passwords?
Rob
It did.
This was helpful.
Your keystore isn’t where you think it is. If you look at your original post and look at the path to your keystore is something like:
C:\Users\Luke\somereallylongrandomlikestring\_path\_to\_your\_game\mykeystore.keystore.
However, when you made your keystore, you were located in the folder:
C:\Users\Luke\
That means keytool wrote your keystore file out to that folder making the path to it:
C:\Users\Luke\mykeystore.keystore
When picking your keystore file, navigate to C:\Users\Luke and select mykeystore.keystore from there.
Rob
I had done that originally. I just created a new one just so I could get the screenshots.
Try using the new one.
Didn’t work.
What version of the Java JDK do you have installed?
Normally we wouldn’t expect keytool.exe to be installed in the path. Normally you have to do a change directory command, something like:
cd C:\Program Files (x86)\java\jdk-1.8.34\bin (where the path is specific for the version you have installed)
Then you can run:
keytool.exe keytool.exe -genkey -v -keystore %USERDIR%\mykeystore.keystore -alias aliasname -keyalg RSA -validity 999999
where of course you substitute the name of mykeystore.keystore to the keystore file you want to use and aliasname to a reasonable name for your app.
The %USERDIR% will put the keystore file in your C:\Users\Luke folder.
If you can, take a screen shot of that folder and share it.
Rob