I'm developing an application using the Android Development Tools and would like to use my Cyanogen rooted Motorola Defy+ phone as a test device. When I connect it via USB, the Android Device Chooser shows it's serial number as "?????????", AVD name as "unknown" and does not allow a connection. Is there a work around for this? Thanks.

有帮助吗?

解决方案 3

The solution that worked for me is described here: http://developer.android.com/tools/device.html#setting-up

I needed to create a rules file here "/etc/udev/rules.d/51-android.rules"

that has the USB Vendor ID (22b8) for my Motorola, (look that up here, http://developer.android.com/tools/device.html#VendorIds). The contents of 51-android.rules is, SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="plugdev". Then execute this, "chmod a+r /etc/udev/rules.d/51-android.rules" as root and restart.

其他提示

Try going here and downloading the latest USB drivers. That should fix it to allow debugging on your phone. This worked for me (albeit with a GS3 and Samsung drivers) when I started.

Did you unlock the developer options in your Settings? You can unlock them by clicking in the "About your phone" section 5 times on the "Build Date". After I installed I had to do this again. Eventhough I had unlocked them previously. This worked for me.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top