开发者

My Android phone not showing up in Dalvik Debug Monitor

I have USB Debugging checked. I can deploy my Android application to my phone. And test. But why my phone is not showing up in Dalvik Debug Monitor.

Where as it works fine with Eclipse for development and deployment?

Once I ha开发者_如何学运维ve taken the screenshot from here. But now its not showing up.

What's went wrong?

Edit See the screenshot. Device is in offline mode. I have seen stacktrace of exception on command line, as following:

com.android.ddmlib.AdbCommandRejectedException: device offline
    at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:736)
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373)

    at com.android.ddmlib.Device.executeShellCommand(Device.java:276)
    at com.android.ddmuilib.SysinfoPanel.loadFromDevice(SysinfoPanel.java:15

My Android phone not showing up in Dalvik Debug Monitor


Open a command shell and issue the command 'adb devices'. It could be that adb server on the host isn't running.

Disconnect your phone, then try 'adb kill-server' followed by 'adb devices' to reload the host server. You may need to reset the phone. I find the phone daemon occasionally stops responding and a swift kick is all it takes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜