Can't access android device from DDMS

假装没事ソ 提交于 2020-01-03 04:52:05

问题


My device is showing on DDMS device list but I cannot do anything with it. For example, file explorer shows nothing and log cat is blank. I just tried to take screenshot, and eclipse just crashed. I of course, made the device in debug usb mode. It seems like a device driver problem but I didn't have any problem with upgrading and rooting this phone.

Is there anything I need to do to the device to make it communicate with DDMS?

UPDATE: I found another visible symptom with my Android device. If I connect it to PC, some of my windows explorer freeze as well. So clearly this is a device driver (SAMSUNG GALAXY S) problem. Maybe it's related to rooting or upgrading since I didn't notice this until I upgraded & rooted my device lately.

UPDATE2: I found a resolution and I could use Remote ADB to connect the device After running the app in the device, you can type following from PC Command to make it connected to DDMS.

adb connect 192.168.xxx.xxx:5555

回答1:


Whenever I have had similar problems, I first unplug the device, turn off debugging, then turn it back on. Sometimes this alone works. Other times, an Android SDK update is needed.




回答2:


In the DDMS view (as opposed to the Java view), have you tried selecting the device? It's not entirely intuitive, but the device needs to be highlighted for Logcat to show output.



来源:https://stackoverflow.com/questions/8305939/cant-access-android-device-from-ddms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!