Why do I see “No Debuggable Applications” in Android Studio Logcat while my application is running?

前端 未结 12 1626
一生所求
一生所求 2021-02-02 06:30

I wanted to filter what is shown in the Android Studio Logcat to show what is relevant to my application only. I have chosen Show only selected applications from th

12条回答
  •  滥情空心
    2021-02-02 07:14

    I found that emulators worked fine with solutions listed above, but my real device never did. Eventually some log came up saying I needed to add the debug flag to my manifest. Since I am using project flavors, it was easy enough to add this to my debug build variant in my gradle file. However, you could also manually add the flag to the manifest as needed - just make sure to not have it there in a production app version.

提交回复
热议问题