I want to publish my app on play store. First it asked me to signed my .apk file and I did it by using debug.keystore and now again i'm trying to upload to .apk and now its saying that "You created this apk in debug mode, you have to create it in release mode" I tried this method too but still i got no success. Can anyone help me plzzz?
Asked
Active
Viewed 236 times
-1
-
Check [doc](http://developer.android.com/tools/publishing/app-signing.html) – Manish Dubey Apr 22 '14 at 12:29
-
1possible duplicate of [You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode error](http://stackoverflow.com/questions/16681282/you-uploaded-an-apk-that-was-signed-in-debug-mode-you-need-to-sign-your-apk-in) – Manish Dubey Apr 22 '14 at 12:29
-
debug.keystore is only for testing, hence the "debug", you would need to follow http://developer.android.com/tools/publishing/app-signing.html#releasemode to sign the APK to a release keystore, before Google Play will accept your compiled APK file. (: – cokeby190 Apr 22 '14 at 12:31
1 Answers
1
You need to create your own signed key in order to publish app. It is very simple and can be done with Eclipse.
Just follow this quick guide:
- Right click on your project in Eclipse -> Android Tools -> Export Signed Application Package
- Click Next
- Select "create new keystore", choose location, enter password
- Click Next and fill needed fields. Write 25 years in validity. (it is the minimum)
- Click next and chose where you want to place apk for Google Play
Thats all. Next time when you want to update your app just select "use existing key" in step 3.

Alon Zilberman
- 2,120
- 1
- 16
- 16