Android Studio - no debuggable applications

前端 未结 16 2340
遇见更好的自我
遇见更好的自我 2020-12-02 04:42

I tried to debug a release version of my Android application but Android Studio failed to attach a debugger. (It could not find Android procces of my running application).

16条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 05:20

    Working solution

    1.For testing run as debug if everything is correct process is attached and you can able to debug.Can see in the list

    2.If it says application not debuggable then alter gradle

    1. Repeat step 1

    4 .If not toggle Tools->Android->Enable ADB Integration and make it enabled.

    5.Restart adb server

    6.Dis connect and connect device It will list

提交回复
热议问题