Enable LogCat on Release Build in Android Studio
问题 By default, when I change Build Variants to release I don't get any Logs on the logcat, but I do need to read release logs of my app, how can I enable this? 回答1: Add android:debuggable="true" (default is false) to your Manifest inside the <application> tag. From the docs: android:debuggable Whether or not the application can be debugged, even when running on a device in user mode — "true" if it can be, and "false" if not. respectively You can disable debugging by removing the android