Cannot debug android app in Intellij: “Warning: debug info can be unavailable.”

后端 未结 12 2301
无人及你
无人及你 2020-12-24 05:44

I am trying to debug an app with Intellij 13.0 on Windows 7. Whenever I start debugging I get the following warning:

Warning: debug info

相关标签:
12条回答
  • 2020-12-24 06:36

    For me this situation occured when device was connected via usb and adb tcpip was enabled (ADB in Wi-Fi mode).

    Just run command adb usb with connected device and try to debug again.

    0 讨论(0)
  • 2020-12-24 06:36

    This is a problem of ADB connections as sometimes ADB cache a dead connection on your real/virtual device and due to which the port is busy and u cannot connect to it.

    The simplest solution to this is RESTART your ANDROID phone that's it.

    0 讨论(0)
  • 2020-12-24 06:37

    Had similar problem in Android Studio (0.5.1) with SDK 18.0.1

    Warning: debug info can be unavailable. Please close other application using ADB: Monitor, DDMS, Eclipse
    

    As you suggested updating the SDK worked. Now running on 19.0 and the problem got resolved.

    0 讨论(0)
  • 2020-12-24 06:39

    Are you using adb through WiFi? That might cause debugging issues.
    If so connect your mobile to your pc thru usb and debug again that should fix it.

    0 讨论(0)
  • 2020-12-24 06:43

    Turn the USB Debugging on Device in Developer Options to off. And then switch it back on. This solved the issue in my case.

    UPDATE

    One more thing which fixed my case was clearing all existing breakpoints. And then trying to debug again.

    0 讨论(0)
  • 2020-12-24 06:43

    For those who are using Android-Studio: check your gradle file and product flavours and be sure that "debuggable" attribute in manifest is NOT set to false.

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