As the title says, I'd like to be able to find whether an APK has debuggable set to true or false on a computer without having to install it on the device, run it and see whether it shows up in DDMS or not.
By putting android:debuggable="true" in your manifest file, application will go in debug mode, that means android will manage all logs file regarding your application. But make sure put it again false (or remove this tag) if application will going to live or for release mode.
The unaligned apk is just an intermediate apk. First, the unaligned apk is generated. Then, the unaligned apk gets aligned and produces the aligned apk which is the app-debug.
For window user can use following command:
aapt l -a <apk with path> | findstr debuggable
will return either:
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
-> this means debuggable is true.
or
A: android:debuggable(0x0101000f)=(type 0x12)0x0
-> this means debuggable is false.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With