Question

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)

Was it helpful?

Solution 4

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

OTHER TIPS

First, make sure that the Android ADB can "talk to" your device.

  • Open a Windows Command Prompt (cmd.exe)/Mac Terminal.
  • Go to the folder (via cd) where ADB.exe is in, e.g, C:\Android\android-sdk\platform-tools.
  • Type adb devices

If your device is listed (serial number is displayed), go to the second check. Otherwise, this means ADB currently can't talk to your device. There're many reasons which can cause the problem, try:

  • In your device, turn on "USB Debugging Mode" in Settings -> Application -> Development.
  • In your device, turn on "Allow installation of non-market Applications" in Settings -> Application -> Development.
  • Restart your Windows/Mac.
  • Restart the Android device.
  • In Windows/Mac, reinstall device drivers.

Second, make sure you set the "Deployment target selection mode" to manual:

  • In Eclipse Package Explorer view, right click your Project, select Run As -> Run Configurations...
  • In Run Configurations dialog, under Android Application. If your app doesn't exist, double click Android Application to create a new configuration, give it a suitable name (e.g. your app). Make sure this configuration is selected.
  • On the right area, for Android tab, make sure your project displayed under Project; for Target tab, select "Always prompt to select device" or "manual".
  • Click "Apply" and close the Run Configurations dialog.
    The next time when you Run your app, you should see your list of devices.

Your device still can't display? Ok. Third, make sure your "Project Build Target" Android version is supported in your Device.

  • Check your device's Android version. In your device, select Settings->About Device.
  • Check Android version of your project. Right click your project->Properties->Android->ProjectBuildTarget.
  • Make sure that it's not newer than your device's version.

Also remember to set the 'Deployment target selection mode' to manual (Debug configurations -> target tab)

After following some of the steps in other answers here, as well as what is found here: ADB Driver for HTC Incredible, I had to issue two commands before my phone would show up.

adb kill-server
adb start-server

Finally, after those two commands would my device show up when I ran

adb devices

From time to time, the ADB process may get stuck (technical term there). When that happens, the above commands will not work. I have found that killing the ADB process (look in for adb.exe in the Processes tab in Task Manager on Windows, or kill the PID for adb under linux), and then use

adb start-server

generally fixes that problem.

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.

Using the Android SDK Manager may or may not actually install the Google USB Driver.

Following the steps here: http://developer.android.com/sdk/oem-usb.html#InstallingDriver allowed Eclipse to display the device.

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

None of the other answers worked for me. For me the device registered with eclipse after I rebooted the phone. Process for that is going to vary by phone model.

http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver

Windows 7

To install the Android USB driver on Windows 7 for the first time:

Connect your Android-powered device to your computer's USB port. Right-click on Computer from your desktop or Windows Explorer, and select Manage. Select Devices in the left pane. Locate and expand Other device in the right pane. Right-click the device name (such as Nexus S) and select Update Driver Software. This will launch the Hardware Update Wizard. Select Browse my computer for driver software and click Next. Click Browse and locate the USB driver folder. (The Google USB Driver is located in \extras\google\usb_driver.) Click Next to install the driver.

I had a similar problem...and my issue was related to using too high of an sdk....

I changed:

uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17"/

to

uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"

and my problem was solved.

I'm very late here, but if it helps someone... be sure you don´t have a conflict with your USB mode when attaching the cable. I pick "Only charge" (sorry if it's not exact, I have an Spanish terminal) but sometimes it changes to share net and the device dissapears from the list when running an app.

I was facing the android device not showing in "device chooser" so I try my best but no avail, at least I found that ADB drivers should update, for this I did following steps 1. download driver from"http://forum.xda-developers.com/showthread.php?t=1161769" 2. Device Manager->> right click on ADB ->> update driver ->>browse path of downloaded drivers then OK update successful. and I found my android device in "Device Chooser" try and getting relax

If you have a samsung device you need to install a special driver for development:

http://developer.samsung.com/android/tools-sdks/Samsung-Andorid-USB-Driver-for-Windows

Okay... so I could never get my PENDO pad to show up.. until I encountered this..

process android.process.acore has stopped..

Yeah.. nothing to do with this issue right? Ah ah but it lead me to MOBILEGO. It's a desk application that lets you admin your device.. Guess how.. by connecting via USB. Yep and it does.. It installed everything on my windows box, and now Eclipse has no problem seeing my PENDO.

Another alternative: on modern Apple iMac's, the USB port closest to the outside edge of the machine never works with ADB, whereas all others work fine. I've seen this on two different iMacs, possibly those are USB 1.0 ports (or something equally stupid) - or it's a general manufacturing defect.

Plugging USB cables (new, old, high quality or cheap) into all other USB ports works fine, but plugging into that one fails ADB

NB: plugging into that port works for file-transfer, etc - it's only ADB that breaks.

In galaxy note 3 you need to enable the developer option. Access the "About Device" and click on the Build number multiple time until a message appear which telling you that the developer option has been enabled. Go back to general and there your go..the developer option has been enabled and select USB debugging option. This is for Galaxy note 3 N9005 Andriod 4.3.

My problem was with an old ZTE phone, I was ignoring the autorun.exe that kept popping up when I plugged in the phone. I finally ran the autorun software it installed ZTE drivers and the phone started showing up in adb devices.

The device was not showing up because of the following line in android manifest file---

<uses-sdk android:minSdkVersion="18"
        android:targetSdkVersion="18"/>

I changed it to---

<uses-sdk android:minSdkVersion="8"
        android:targetSdkVersion="19"/>

Now it worked.

Disable debugging mode and developer options in your phone.

Start Android device monitor.

Now enable developer options and debugging mode in your phone.

You should be able to see your device listed after this in android device monitor. There after you should be able to see it under Android device chooser.

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.

Use USBDeview, from here, http://www.nirsoft.net/utils/usb_devices_view.html

Run as administrator.

Disconnect your phone.

Delete all the drivers associated with your phone. Some will say Android as well as the name and model of the phone.

Plug your phone back in so that Windows re-installs the drivers.

This worked for me, when the other solutions didn't.

I'm on a MAC and for some reason when I connected my device via USB there was a weird mount called USB-Drivers which when I UNmounted from Finder, the Androide Device Chooser instantly recognized my device.

I have an HTC G2 with Win 8 and it took me hours to get Eclipse to recognize the device. I followed all of the advice above to no avail when I found this on http://forum.xda-developers.com/showthread.php?t=1964372:

Now click with the right mouse button on Computer, click Manage. Go to Device Manager. Right click Acer A700, click update driver software. Choose "Browe my computer for driver software". Choose "Let me pick from a list". Click all devices or/and Have disk.. Go to C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver\ and click the file under the 2 folders (android_winusb.inf) Click on the first one and install.

Substitute "Android Phone" under "Other devices" for "Acer A700" and use the android_winusb file under adt-bundle-windows-x86_64\sdk\extras\google\usb_driver. Click "OK" when you get the scary prompt about Windows becoming unstable and presto!

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

And , if your device is a Sony Ericsson Xperia X8 with the original ROM (2.1) or similar, then use:

 

<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="17" />

in AndroidManifest.xml file

I had to goto "Settings->Developer options->USB debugging". Make sure USB debugging is turned on.

Samsung Galaxy S II Skyrocket

Android 4.1.2

Mac 10.8.5

I had the same issue with Sony Experia Z, that is because I'm running on windows 8 and apparently I need to download a driver for it.

As mentioned by stkhou, I check my Device manager and saw the eclamation mark. Which it was the model of my phone, to double check so I remove the usb and it dissapeard. So I plug it in again and the icon appears again.

So it's pretty sure the driver issue, so I have download it and install. After installation, run the android device chooser on eclipse again and it works for me.

I hope same for you.

Here below I saved the links that might intrests someone who has sony issue. ;)

Here are the list of available driver for sony devices:

http://developer.sonymobile.com/downloads/drivers/

Sony SDK

http://developer.sonymobile.com/knowledge-base/sony-add-on-sdk/install-the-sony-add-on-sdk/

One possible reason is to check Android SDK Manager and install Google USB Driver in Extras folder if you have not installed it.

If none of the options work, I change the port and then enable USB debugging and it works fine.

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top