Unable to Upload Updated APK to Google Play Store
android, android-studio, apk, google-play
Solution
It seems you now have to explicitly set android:debuggable=false. (At least with the Android Studio 0.3.6.)
Debuggable is a property of the application tag. (Not the manifest tag.)
<application
android:debuggable="false"
... more attributes
If you've added this attribute properly and Google Play still rejects your APK, try modifying build.gradle to set your own key for debug
signingConfigs {
debug {
storeFile file("my-keystore-file.jks")
storePassword "my-password"
keyAlias "my-alias"
keyPassword "my-password"
}
}
Problem
The same issue was posted here but the answer given didn't work for me. I've uploaded to the store before and now I can't update my app to include some bug fixes. Whenever I try to upload the APK I get this error Upload failed You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play. I've tried adding Android:debuggable="false" to my manifest but I'm still getting the same message. I'm currently using Android Studio to generate my signed APK. Edit Here's my AndroidManifest.xml ``` <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.aventuracctv.aventurafibercalculator" android:versionCode="3" android:versionName="1.2" android:debuggable="false"> <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="18" /> <application android:allowBackup="true" android:icon="@drawable/app_icon" android:label="Fiber Calculator" android:theme="@style/AppTheme"> <activity android:name="com.aventuracctv.aventurafibercalculator.MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> ```