You need to create a signing key, then unlock and select it when building.
See the Signing section of the PGB Docs.
My actions :
1- Installed JAVA SDK on C:\\Arquivos de Programas\Java\jdk 1.8.0_111
2 - Set JAVA_HOME to the same directory
3 - When execute by command prompt C:\Users\Fabio\>keytool -genkey -v -keystore fabioadorno.keystore -alias axiom -keyalg RSA -keysize 2048 -validity 10000 AN ERROR OCCUR : keytool is not recognize as a command
Please, could you help me ?
C:\\Arquivos de Programas\Java\jdk 1.8.0_111\keytool ....
or set your Windows HOME path to include C:\\Arquivos de Programas\Java\jdk 1.8.0_111
I am also running into this issue.
I don't see Windows HOME path in there. Would this be listed as something else maybe?
my 3 cents to complete others anwers:
- it's usually in Program Files (x86)
- keytool must be exectuted in the "\bin" directory, not at the root of "....\Java\jdk 1.8.0_111\"
- then the keystore file to upload tho phonegap build, will be in that dir also, with a name like "your_keystore.keystore"
Hope it helps
Figured it all out. Thank you!
I am having trouble building a non-debug apk. I have generated a signed key, and have uploaded it to phonegap and unlocked it. Now if I go to the build section (Adobe PhoneGap Build), I don't see where I can select this signed key in order to build it in a non-debug format.
Please advise, much appreciated.
Figured it out - I had to 'Update code' in order for the bottom section to appear with the key option dropdowns.