Manjunath
Manjunath

Reputation: 2063

Unable to upload new APK file to Android Play store even though debug is off

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

Answers (5)

Mihir Vyas
Mihir Vyas

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 ::

  1. Right click the project.

  2. Go to Android Tools.

  3. select Export Signed APK Package.

  4. Enter Project Name.

  5. Select create new key store option.

  6. 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

cgould
cgould

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

copolii
copolii

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

dbm
dbm

Reputation: 10485

Make sure you're signing your application with the release key (not the debug key).

Upvotes: 1

Endzeit
Endzeit

Reputation: 5474

Remove all calls to the catlog in your code.

Upvotes: 0

Related Questions