What kind of permission/Flag do I have to add to the manifest to debug my application on an actual Android device?
The Android manifest file helps to declare the permissions that an app must have to access data from other apps. The Android manifest file also specifies the app's package name that helps the Android SDK while building the app.
Add android:debuggable="true"
to the <application>
element
More info here.
You shold create a debug specific manifest file (typically in src/debug/AndroidManifest.xml). To avoid error: "Avoid hardcoding the debug mode." If you run/debug application directly throuh IDE, it is automatically build with android:debuggable="true" flag.
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