Sanya Tobi
Sanya Tobi

Reputation: 899

Google play error during apk upload

I get this error while trying to upload an apk on google play:

You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play.

I am using phonegap build (version 2.9)...I still uploaded an apk for the same app about 3 weeks ago without any issue. The solutions I found online has to do with the android manifest file which phonegap build doesn't have...

Upvotes: 0

Views: 232

Answers (3)

Suhas Gosavi
Suhas Gosavi

Reputation: 2170

Add

android:debuggable="false"

into manifest.

And also back to the PhoneGap Build interface, clicked Settings, unchecked the "Enable Debugging" box and then recompiled.

Upvotes: 0

Sanya Tobi
Sanya Tobi

Reputation: 899

Had to edit the app with with apktool, made the change to the AndroidManifest.xml, then re-sign with jarsigner and finally wrapped it up with zipalign....it uploads correctly now...I guess the problem was that phonegap build changed the way they build android apks

Upvotes: 0

vinay Maneti
vinay Maneti

Reputation: 1451

I think in BuildConfiure.java make DEBUG = false; while deploying .apk i think we should make it false

Upvotes: 0

Related Questions