Cannot debug android app in Intellij: “Warning: de

2019-02-03 03:22发布

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.

best regards

[EDIT] I solved it, by updating my android SDK build tools to 18.1.1.

11条回答
霸刀☆藐视天下
2楼-- · 2019-02-03 04:13

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.

查看更多
smile是对你的礼貌
3楼-- · 2019-02-03 04:15

I used adb kill-server in the console to get the Logcat to appear. Running Android Studio 1.02.

查看更多
forever°为你锁心
4楼-- · 2019-02-03 04:18

First make sure you close any application use ADB , DDMS

like if you open Eclipse with android studio

Second restart your ADB from terminal

adb kill-server
adb start-server

if you cannt find terminal use this image to guide you

enter image description here

if this doesn't work with you close android studio and open it again

the cause of error , many application share ADB this why you cant start debugging

查看更多
倾城 Initia
5楼-- · 2019-02-03 04:20

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.

查看更多
Animai°情兽
6楼-- · 2019-02-03 04:25

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.

查看更多
登录 后发表回答