I followed this documentation:
https://docs.coronalabs.com/guide/distribution/androidBuild/index.html
I had to paste this in the command line:
keytool -genkey -v -keystore mykeystore.keystore -alias aliasname -keyalg RSA -validity 999999
However I get an error saying:
'keytool' is not recognized as an internal or external command, operable program or batch file.
I searched up that keytool comes with the JDK and I have installed the JDK from here:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
I have no idea what is wrong. I should have keytool since I have the JDK.
Here is the full Command Line:
Microsoft Windows [Version 10.0.10240] (c) 2015 Microsoft Corporation. All rights reserved. C:\Users\Gary\>keytool -genkey -v -keystore com.garygusepapps.wallpaper.keystore -alias com.garygusepapps.wallpaper -keyalg RSA -validity 999999 'keytool' is not recognized as an internal or external command, operable program or batch file. C:\Users\Gary\>
Can someone tell me what I did wrong?