Hardcoded value of android:debuggable in the manifest
Hardcoded value of android:debuggable
in the manifest
It's best to leave out the android:debuggable
attribute from the manifest. If you do, then the tools will automatically insert android:debuggable=true
when building an APK to debug on an emulator or device. And when you perform a release build, such as Exporting APK, it will automatically set it to false
.
If on the other hand you specify a specific value in the manifest file, then the tools will always use it. This can lead to accidentally publishing your app with debug information.
Issue id: HardcodedDebugMode
https://goo.gle/HardcodedDebugMode
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023