Android device not showing in Android Chooser but listed in adb

I am using Eclipse + ADT on Mac OS. I have a Nexus 5 connected via USB, but it doesn't show up in the Android Chooser when I launch my app from Eclipse. In fact, it showed up once and I could deploy my app to my phone, but then it just disappeared from the Android Device Chooser.

The strangest thing is that the device is displayed at startup

adb devices

      

at the terminal. I even get debug messages from the phone in the Eclipse LogCat, so it is clearly connected and recognized - but it still doesn't show up in the Device Chooser. I tried all the solutions suggested here (restarting the phone, enabling and disabling debug mode, restarting adb, restarting Eclipse, etc.) - no effect.

Any ideas?

+3


source to share


4 answers


Looks awful like I just spent the last hour figuring out. OS X, Nexus 5, appears in adb devices, tried everything under the sun.

In my case, it turned out that even if the device was not on the list, I was able to click OK and it started just fine. (see below)



OK even though no device is listed

I'm not sure if it helped, but before I stumbled upon this solution, I edited the Launch configuration options to change "Always prompt for device selection" to "Launch on all compatible devices / AVS" and selected Active devices options. I ran and it worked! I expected the device to start showing up in the above menu after this, but it doesn't. Then I realized that it didn't matter and I could click OK and it would be built. Hover over your mouse.

+5


source


I had the same problem. I couldn't see my Nexus 4 in the Device Chooser list, although I could see it in DDMS. I found out that it is just hidden from view. Click the device selection list and roll the mouse wheel. The device should now be visible in the list.



+9


source


Blazeline's solution worked for me, but it was a bit tricky to scroll up to display the device.

Another way to do this and make the device more explicit is to disconnect your device when the device selection list opens and reconnect it. It will now appear explicitly in the device selection list.

Eclipse is really weird sometimes ...

0


source


My case was the same as mentioned here and obviously I did all the tricks without success, but the solution was very logical: a device that was not in the pickup list had a lower API and then AndroidManifest.xml allowed

-1


source







All Articles