Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 can be unavailable. Please close other application using ADB: Monitor, DDMS, Eclipse"

I have tested it on a device and in the emulator. The only thing I have open is Intellij. I tried also with closing adb before I start debugging, but nothing changed.

like image 418
BHuelse Avatar asked Dec 13 '13 09:12

BHuelse


People also ask

How do I enable debug on APK?

However, you need to make sure you're using an APK with debugging enabled. To start debugging an APK, click Profile or debug APK from the Android Studio Welcome screen. Or, if you already have a project open, click File > Profile or Debug APK from the menu bar.

How do I run Android in debug mode?

Press Ctrl + Alt + F5 (or Shift + F9 ) to launch the app in debug mode. Choose Run -> Attach to process and select the signature of an app to enable the debug mode, which is already installed via adb.

What does debug level do on Android?

Debug mode enables you to see logs of various Tapjoy actions (sessions, placements, purchases, custom events, etc. ). These will appear in the Tapjoy Developer Console. To get to the developer console, go to the wrench icon in the top navigation bar of the dashboard and select "Developer Console" from the drop down.


1 Answers

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.

like image 171
Levor Avatar answered Oct 08 '22 21:10

Levor