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!