I have gone through a lot of threads before posting this here. I am facing an issue with Android device debugging - the device isn't getting listed on Devices tab in Eclipse IDE. (To get 'Devices' tab 'Windows -> Show view -> Devices'). So while starting to debug there is no way to choose a device as device listing shows blank. The strange thing is that it used to work fine before and under windows explorer I can browse the files.
I am using Windows Vista Home premium, 32-bit OS
What all I have tried:
In phone:
In Eclipse:
In windows CMD under /platform-tools/ directory where the Android SDK Tools is installed, ran the following commands without getting any positive outcome: Shut down Eclipse, unplugged the device and tried running: adb kill-server adb start-server
Plugged it back in and ran adb devices
Mobile device details:
hardcore@speedmod-s2-ics #k3-27b
Eclipse version: Indigo Service Release 1 Build id: 20110916-0149
Edit1: I am ending up getting this error message on Eclipse console: "[2012-10-09 12:39:22 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host [2012-10-09 12:39:23 - DeviceMonitor] Connection attempts: 1" I believe the problem is with the ADB driver. I have installed the latest SDK so the driver is also latest. Is there any other way to install the ADB driver?
On the device, go to Settings > About <device>. Tap the Build number seven times to make Settings > Developer options available. Then enable the USB Debugging option. Tip: You might also want to enable the Stay awake option, to prevent your Android device from sleeping while plugged into the USB port.
A device must enable Developer mode in order to deploy and test an Android app. Developer mode is enabled by following these steps: Go to the Settings screen. Select About phone.
Is your phone set to charge only? I know my phone will not connect in Eclipse if it is set to storage mode. If you can view it in the Windows Explorer, that may be the cause of your problem.
Other than that, sometimes when I run into this sort of problem I do the following:
1. Unplug phone from PC
2. Disable USB Debugging in phone
3. Plug phone into PC
4. Unplug phone from PC
5. Enable USB Debugging in phone
6. Plug phone into PC
If my phone is being difficult and not showing up in Eclipse, or if it is showing up but not allowing me to select it for debugging, doing this once or twice usually fixes it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With