You have downloaded the debugged APK. For security reasons, you need to disable debugging before it is published to the Google Play-Upload apk for playing Google

I want to upload my apk to google play store.but it Show me such an error.

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

and I searched for it and I get a recommendation to change android: debuggable = "false" in manifestast.xml.

I have changed so much

manifast.xml

  <application android:allowBackup="true" android:debuggable="false" android:icon="@mipmap/ic_launcher" android:label="Concall" android:screenOrientation="portrait" android:theme="@style/AppTheme" > 

and in my build.grable (Module)

 android { buildTypes { debug { debuggable false } } 

1.s enough to download Apk to Google Play Store?

2.if I take apk from the project folder (app → build → output → apk → apk-debug.apk) after this change, than after it can upload to the Google Play Store

I need to know this thing. Thanks in advance.

+19
android upload google-play apk
source share
6 answers

Do not use debug output option! Create apk release . You can do this in Android Studio by going to the Build menu → Generate Signed APK. Or by completing. / gradlew assembleRelease if you configured the signature in the assembly file correctly.

+18
source share

I ran into this error and my application is nowhere debuggable . After a short search, I found that my build type release accidentally set to testCoverageEnabled true .

 release { testCoverageEnabled true ... } 

Removing this solved the problem.

+4
source share

I had the same problem. I unknowingly continued

Debug truth in buildType release

 buildTypes { release { minifyEnabled false shrinkResources false debuggable true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } 

Once changed to false Works fine.

 buildTypes { release { minifyEnabled true shrinkResources true debuggable false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } 
+4
source share

These must be the flags for loading the APK into the Playstore. No need to release the assembly. If you want to check your qa build you can do. / gradlew assemblyQa with flags

minifyEnabled true debugging false shrinkResources true testCoverageEnabled = false

+1
source share

You can see my answer below. You must set these options "debug: false" debug false

0
source share

In my build.gradle file, I had debuggable = false and I was wondering why I am getting this problem. I later discovered that it was debuggable = true in my application tag for the AndroidManifest.xml file

0
source share

All Articles