If you are getting below error while trying to upload new APK file in google play developer console.
You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play.
If you’re using Android Studio, the simplest way is to open the
"Build Variant" toolbar on the left bottom and change it from
"Release" then “Build” ->
"Generated Signed APK".
|Build Variant Screen in android studio|
|change it from “Debug” to “Release”|