Android Studio - no debuggable applications

前端 未结 16 2235
遇见更好的自我
遇见更好的自我 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:31

    It happen to me when I wanted to debug my app after I Generated a Sign APK, so I had to change back the Build Variants value from release to debug.

    0 讨论(0)
  • 2020-12-02 05:32

    I want to add one point to above 2 answers :

    If Eclipse IDE is running parallel to Android Studio then above answers may not help you. The debuggable application will not refresh event after setting debuggable true in Gradle file.

    So, close Eclipse IDE and check in Android Studio. The debuggable application will refresh.

    Thank you

    0 讨论(0)
  • 2020-12-02 05:32

    Ctrl+shift+A Type Enable ADB Integration click on toggle Done

    0 讨论(0)
  • 2020-12-02 05:33

    if intellij or AS you should make sure your Build Variants Setting is debug.

    0 讨论(0)
提交回复
热议问题