Create a keystore for an Android application in the Export Android Application app?

I am trying to export a signed Android application in Eclipse.

I think I will go in the right direction:

  • Right click on project> Android Tools > Export Signed Application Suite
  • The Android Application Export Wizard appears.
  • Select the project that I want to export, click Next .
  • The Keystore selection screen appears.

It looks like this (sorry my ascii, the file uploader is not working):

[ ] Use existing keystore [o] Create new keystore Location: __________ [Browse] Password: __________ Confirm: __________ 

I don’t have an existing keystore, so I click the "Create a new keystore" button. The location field remains active, must be filled in, and if I go to any directory, I would like the vault to be created after its creation, the dialog box complains that "Keystore path is a directory".

  • Is it possible to create a keystore in this dialog box?
  • If not, how can I create it? My google-fu only provided me with unsuccessful experiments. I am using Eclipse on a PC.

Compiling and signing with Eclipse ADT on the Android developer page seems to think that this will just work, but I can’t get past this part of the dialog. I can export unsigned .apk files just fine.

Thank!

+46
android export eclipse-plugin code-signing
Jul 11 '11 at 20:27
source share
3 answers

You should be able to create a keystore with a dialog, yes. After navigating to the folder that you want to use, enter the name in the "File Name:" field in the file browser, for example. sophie.keystore . Then you can continue.

Alternatively, you can create it on the command line, as described in the docs .

The command looks like this:

 keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 

eg:

 keytool -genkey -v -keystore ~/dcaunt.keystore -alias dcaunt -keyalg RSA -keysize 2048 -validity 10000 
+46
Jul 11 2018-11-11T00:
source share

If you created the application right now using the sdk and adt plugin, for example, the Hello World application, you will have to select the debug.keystore file when exporting. The files are located in c:/users/.../.android/debug.keystore , after which when asking for a password.

+1
Jul 01 '12 at 8:29
source share

Step 1: How to create a keystore in eclipse

Step 1: How to create a keystore in eclipse

Step 2. Browse the directory and place the file filename.keystore and create a password

[ Step 2: Browse Directory and put filename.keystore and create password ]

Step 3: Fill in the expiration and license information

2 [ Step 3: Fill Expiry details and License detail ] 3

You are done!

0
Aug 13 '17 at 20:44 on
source share



All Articles