Android Device Chooser — device not showing up

2020-01-25 13:09发布

I'm using Eclipse + ADT, and my physical device (listed below) is unlisted on Android Device Chooser. I have updated Eclipse and all of the Android packages. My phone is running Android OS 1.6, which corresponds to the target version listed in the Eclipse Project.

Also, the reason I decided to try testing on a real device is because the emulator doesn't seem to be working right anymore when I run my project. The emulator launches, but the program never does. Any ideas?

(using windows 7/t-mobile mytouch 3g)

30条回答
混吃等死
2楼-- · 2020-01-25 13:40

This note from the Android Developer site is what worked for me:

Enable USB debugging on your device. On most devices running Android 3.2 or older, you can find the option under Settings > Applications > Development. On Android 4.0 and newer, it's in Settings > Developer options. Note: On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options.

查看更多
家丑人穷心不美
3楼-- · 2020-01-25 13:40

If you select Android Application in the Debug As dialog, you should be able to attach the debugger to the device directly. Make sure you run adb devices on your shell and see your device listed. If not, you will need to re-install the driver for the device. You can uninstall the drivers you have using USBdeview and then download and re-install the drivers until you see the serial number for the device listed when you run adb devices. - Arunabh Das

查看更多
不美不萌又怎样
4楼-- · 2020-01-25 13:40

My device had disappeared from the adb devices list after connecting it to adb on another laptop.

I selected "Charge only" on the phone and then re-enabled USB debugging.

That resolved the problem for me.

查看更多
冷血范
5楼-- · 2020-01-25 13:40

I had the same problem and solved this way: my phone is a SonyEricsson Xperia X8 and wasn't recognized by windows 7 (but it was by Ubuntu). Hence I figured out it was a driver problem.

0) Pluged in my smartphone 1) Right clicked on Computer->Manage->Device Manager 2) There was a yellow exclamation mark on one item named something like "SEMC HUSB"... Double clicked on that item (that was actually related to the smarphone) and updated the drivers (previously downloaded from this page http://developer.sonymobile.com/downloads/drivers/sony-ericsson-x8-drivers/ and now everything works). I guess that you can find your proper dirvers via google if you have a different phone.

Cheers

查看更多
聊天终结者
6楼-- · 2020-01-25 13:40

I had problem seeing my android device, so when adb reported that none were present, I cycled power on my USB hub and voilà, it came back in adb and in eclipse DDMS.

查看更多
爱情/是我丢掉的垃圾
7楼-- · 2020-01-25 13:41

I think this was because the option for USB debugging wasn't checked on the device

查看更多
登录 后发表回答