0 votes

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!

asked Apr 16, 2016 in Engine by DeRobyJ (12 points)
edited Apr 16, 2016 by DeRobyJ

1 Answer

0 votes

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

answered Nov 25, 2017 by tomsantos (14 points)

This, because is a java program, not android.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.