Suggested debug.keystore command doesn't generate a debugkeystore, on windows

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DeRobyJ
:warning: Old Version Published before Godot 3 was released.

Following this guide: http://docs.godotengine.org/en/latest/tutorials/asset_pipeline/exporting_for_android.html?highlight=keystore

I must create a debug keystore, since I don’t use the sdk with eclipse or any other.

The guide suggests a command:
–keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname “CN=Android Debug,O=Android,C=US” -validity 9999

which I think I should copy-paste on command prompt and let it go.
Of course I have the jdk bin on my PATH and the command does work.

But I can’t find the keystore file. The contents of my /.android/ folders are:

avd folder
cache folder
adb_usb.ini
adbkey
adbkey.pub
androidwin.cfg
repositories.cfg
sites-settings.cfg

If I try to run
–keytool -list
it says “keystore file does not exists”, searching for a //.keystore/
(?)

but if I try to run the suggested command again, it behaves like if a keystore had been generated:
“alias already exists”

Now, I found some other keytool commands online, but I want to be sure I can use a different one from the one suggested

Thanks in advance!

:bust_in_silhouette: Reply From: tomsantos

You need locate path to JDK, example “CD C:\Program Files\Java\jdk1.8.0_144\bin”

This, because is a java program, not android.

eons | 2017-11-25 16:33