Announcements
The Scaleform forum is now read-only. Please head to the Gamedev site for product support.
Scaleform Forum (Read Only)
Scaleform enables developers to leverage the power of the Adobe® Flash® tool set to create powerful user interface environments for video games.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting an Android debug.keystore

0 REPLIES 0
Reply
Message 1 of 1
MatthewDoyleArt
14855 Views, 0 Replies

Getting an Android debug.keystore

For those of you having trouble understanding the Android documentation on how to sign your apps (it is admittedly very difficult to follow), here are some basic instructions on generating a debug.keystore file for Android app development:

Method 1 - Via Eclipse and ADT

1. Download the Eclipse IDE and install it - http://www.eclipse.org/downloads/
2. Install the ADT (Android Development Tool) plugin for Eclipse - http://developer.android.com/sdk/installing/installing-adt.html
3. Configure the ADT Plugin (same link as above)
4. Setup a new Android project in Eclipse - http://developer.android.com/tools/projects/projects-eclipse.html
5. Create a new AVD (Android Virtual Device) for testing - http://developer.android.com/tools/devices/managing-avds.html
6. Run your new test project using Debug in Eclipse.
7. The debug.keystore should be generated in your C:\Users\username\.android\ directory.

Method 2 - Via Cygwin & JDK Keytool.exe

Alternatively, you can generate a keystore without Eclipse with the following JDK command from wither a Windows command prompt or Cygwin with this command:

keytool -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999

Keytool is a part of the JDK and needs to be in the system PATH to be used in this way. The path should be something like: C:\<location of my jdk install>\bin

Once generated, be sure to copy the keystore file into the proper location. If you ran the command from your Cygwin home directory (the directory cygwin starts in), you will find the debug.keystore file here: C:\<location of my cygwin install>\home\<my user directory>\

Matthew Doyle
Technical Marketing Manager

-----------------------------

Area Blog: Game Dev Blog
Watch me on Youtube: Youtube.com/MatthewDoyleArt
Check out some of my work at: MatthewDoyle.com
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report