I'm trying to generate an application to put in the play store when I do this command:
Keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
This message is appearing keytool:
command not found
Has anyone had this problem?
Change directory to C:\Program Files\Java\jdk1.8.0_66\bin
and then run your keytool
command.
Or
Set the PATH variable
permanently (Windows)
Click Start, then Control Panel, then System.
Click Advanced, then Environment Variables.
Add the location of the bin folder of the JDK installation for the PATH variable in System Variables. The following is a typical value for the PATH variable:
C:\Program Files\Java\jdk1.8.0_66\bin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With