-1

I am trying to convert my website into an app. I used the additional code of

However, I am stuck at the signing APK point.

Stuck on Step 3: http://docs.phonegap.com/phonegap-build/signing/android/#Android%20Signing

Error Message: C:\Users\User\keytool -genkey -v -keystore [PRIVATE].keystore -alias [PRIVATE] -keyalg RSA -keysize 2048 -validity 10000 'keytool' is not recognized as an internal or external command, operable program or batch file.

Could anyone give me some advice on how to enter this code correctly so that I can generate the keystore key and file?

Cœur
  • 37,241
  • 25
  • 195
  • 267
user7808125
  • 1
  • 1
  • 1

1 Answers1

0

Try with this ::

keytool -genkey -v -keystore test.keystore -alias test -keyalg RSA -keysize 2048 -validity 10000

test is keystore file name. If you want to change you will change it.

I tried this and my test.keystore file generate.

Hiten
  • 724
  • 1
  • 8
  • 23
  • Thank you Hiten, someone on Facebook actually provided the answer. It was my JAVA_HOME and PATH under Environment Variables. It needed to be C:\Program Files (x86)\Java\jre1.8.0_121\bin – user7808125 Apr 06 '17 at 11:12