I'm trying to export a signed Android application in Eclipse.
I think I'm going in the right direction:
It looks like this (forgive my ascii, file uploader 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 new keystore" radio button. The location field remains active, must be filled, and if I browse to some directory I'd like the keystore to go after it's created, the dialog complains that "Keystore path is a directory."
The Compile and sign with Eclipse ADT section in the android developer page seems to think this will just work out, but I can't get past this part of the dialog. I can export unsigned .apk files just fine.
Thank you!
The first time you run or debug your project in Android Studio, the IDE automatically creates the debug keystore and certificate in $HOME/. android/debug.
The Android Keystore system lets you store cryptographic keys in a container to make it more difficult to extract from the device. Once keys are in the keystore, they can be used for cryptographic operations with the key material remaining non-exportable.
You should be able to create a keystore with the dialog, yes. After navigating to the folder you want to use, type a name in the 'File name:' field in the file browse window, e.g. sophie.keystore
. Then you should be able to proceed.
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
for example:
keytool -genkey -v -keystore ~/dcaunt.keystore -alias dcaunt -keyalg RSA -keysize 2048 -validity 10000
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With