Signing Android Application
Before I tell you about creating the keystore/key in Android using Eclipse IDE, you should know that it is important to sign the Android Application as the Android system does not allow installing unsigned application on the device and also on the emulator.Android application can be built in following two modes:
- debug mode: use while you are developing and testing the application
- release mode: use when you want to publish the application on Google Play or to provide the app to the End User.
Creating Debug Keystore/Key
It is really simple. When you run the Application from Eclipse, the debug mode is enabled by default. The ADT signs the application automatically with the debug certificate and you can run the .apk file on emulator and also on a device. The ADT integrated with Eclipse has access to Keytool utility which auto creates the debug keystore and key. By default the debug keystore/key has the following names and passwords:- key.store=“debug.keystore”
- key.alias=“androiddebugkey”
- key.store.password=“android”
- key.alias.password=“android”
Please note that you cannot release the Android Application signed in debug mode. Also, you can find the debug keystore in the .android folder (in my case C:\Users\Soofia faruq\.android\debug.keystore).
Creating Release Keystore/Key
Creating key using Eclipse IDE is really simple. Right click on your project ApiDemos à Android Tools à Export Signed Application Package as shown in picture below:







1 comments:
Thankyou! This helped me loads!
I never knew you had to do this!
Post a Comment