This is one of those “simple as soon as you know how” - use the aapt tool to validate the manifest.
aapt dump xmltree YourApp.apk AndroidManifest.xml | grep debuggable
This command will give you a dump of the compiled form of the AndroidManifest.xml file - the result will look something like this:
A: android: debuggable (0x0101000f) = (type 0x12) 0x0
(Actual output from my command line) in this example, 0x0 indicates false.
source share