views:

1393

answers:

3

I'm using the android plugin for eclipse, and when I try to run my program using a real device through the android device chooser, my phone is not listed as a device. I have updated eclipse and all of the android packages, but it still isn't showing up. My phone is running 1.6, which is also 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)

+1  A: 

Have you gone through installing the driver?

http://developer.android.com/intl/zh-TW/guide/developing/device.html

http://developer.android.com/intl/zh-TW/sdk/win-usb.html

sadboy
yeah, the driver is already installed
mportiz08
A: 

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

mportiz08
A: 

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

arunabhdas