开发者

Nexus One Android Debugging in Ubuntu 9.10

I can't get Ubuntu 9.10 to recognize the Nexus One as a debug device. I tried following the instructions found here but they are not working: http://alan.lamielle.net/2010/01/22/nexus-one-usb-in-ubuntu-9-10

Anyone know of a link or know how to get the Nexus One to debug开发者_如何学C correctly in Ubuntu 9.10?


the id is "18d1" not "0bb4" for Nexus One.

SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"


You might try SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666" instead of the line listed on that page. That is the rule that I use, and Ubuntu 9.10 amd64 recognizes it correctly.

You may also need to play around with the actual number in the front of the filename (shown as 51-android.rules in the linked-to page). Mine is 50-android.rules. The number controls the order in which the rules are applied, AFAIK.

Also, be sure reload udev (as shown on that page) and restart the adb daemon (via adb kill-server, then adb start-server).


You went through this?

  • Add android:debuggable="true" in your manifest.
  • On the device, go to the home screen, press MENU, select Applications > Development, then enable USB debugging.

After this, follow CommonsWare explanation. You might need to unplug/plug for it to work.


Wow, I feel like an idiot. Somewhere down the line I turned off my debug settings, so no matter what I did with the udev rules, it wouldn't show up. Now that I turned it on, it's working. Thanks to all who tried to help. :/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜