开发者

Android Debugger (on Netbeans7)

开发者 https://www.devze.com 2023-03-25 03:52 出处:网络
I just started using the ADB Log yesterday (Window -> Output -> ADB Log) and it showed me where my error was coming from as debuggers should. However, when I started it up today it won\'t show anythin

I just started using the ADB Log yesterday (Window -> Output -> ADB Log) and it showed me where my error was coming from as debuggers should. However, when I started it up today it won't show anything other than Error - No devices found then it tries to reconnect in 10 seconds. Eventually it just states that the device is offline.

I have the emulator up and running and replicated the error I had yesterday but still nothing useful from the debugger shows up. I haven't changed anything since yesterday and am not sure why I'm having the issue.

Does anyone know of any possi开发者_高级运维ble fixes?


Quick tip (this may or may not solve your problem): In your DDMS view, if the device isn't selected (in the left list of devices with their running processes), then nothing will display in logcat.

Also sometimes I have to run the following command when adb starts acting buggy:

adb kill-server adb start-server (or adb devices)

EDIT: This is for Eclipse - not sure about Netbeans

Also: I have found that some cables do not work with debugging, only charging (these are cheaper cables). I had something like the same issue, once I used a better cable it started working.

0

精彩评论

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

关注公众号