Reputation: 2063
I am trying to upload an APK
to Google Play store. I have added android:debuggable="false"
in the application
tag of AndroidManifest.xml
. But, still it says you need to disable debugging before it can be published in Google Play.
Update:
I am using debug.keystore for signing the APK. So, is it the reason for the issue ?
Should I create a different release.keystore ?
Upvotes: 0
Views: 1862
Reputation: 143
Yes you are right.
To Put your application on Google Play Store You have to generate release.keystore.
Please check the steps of how to generate keystore ::
Right click the project.
Go to Android Tools.
select Export Signed APK Package.
Enter Project Name.
Select create new key store option.
Set Location eg: Keystore Location.
At the end of this procedure you will have you build.apk and put that APK on Play Store that will work.
Upvotes: 3
Reputation: 132
Yes, you need to use a release key, you can not upload to the play store if your app is signed with the debug key. See http://developer.android.com/tools/publishing/app-signing.html#releasemode for more info.
Upvotes: 1
Reputation: 14506
Look for BuildConfig.java
in your source dir and see what it says for DEBUG.
If you're using Gradle/Android Studio be sure to select the release
variant.
If you using Eclipse, disable auto-build, do a clean, then use the Export signed APK
option in Android Tools.
Upvotes: 0
Reputation: 10485
Make sure you're signing your application with the release key (not the debug key).
Upvotes: 1