This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
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!

in Engine by (12 points)
edited by

1 Answer

0 votes

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

by (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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.