50

After upgrading to OS X Yosemite I found that eclipse was not working because JAVA was not properly installed. I installed it and now I am able to open eclipse.

When I connect my device, I am able to see my device on the device list in eclipse. However when I run my project, I am unable to see it on Android device chooser. My device is getting detected by Eclipse but I am not able to select it to run.

This was working perfectly on my previous OS X Mavericks! Please help!

Thanks

joel
  • 747
  • 2
  • 9
  • 20
  • I just updated to the latest ADT/tools (23.0.6.1720515) *and* to the latest Eclipse (Luna Service Release 2 4.4.2) and I no longer have this bug! – BoD Mar 11 '15 at 13:08
  • Relevant issue: https://code.google.com/p/android/issues/detail?id=78436 – BoD Mar 11 '15 at 13:09

6 Answers6

203

It seems to be a layout bug.

Drag one of the column headers in the device chooser where the device should be and change the column width and it magically appears!

Workaround for bug in Android Device Chooser

You can also double click the device's row even when it's hidden, so you don't have to resize the column each time.

k0pernikus
  • 41,137
  • 49
  • 170
  • 286
Matt
  • 4,152
  • 1
  • 24
  • 28
  • 7
    Thank you! Saved me a lot of time too. I was connecting and disconnecting devices to get them on the screen. – Art Oct 19 '14 at 10:24
  • 14
    OMFG!!! I just spent 3 hours messing around with my settings, uninstalling, and reinstalling stuff, thinking it was an issue with my setup or my device. Thanks Google for your quality control! It seems like every time I open an Android project that I haven't worked on for a few weeks I have to spend at least an hour getting Eclipse back into working order. Matt, thanks for the great find! +1 – Brian Shamblen Oct 27 '14 at 00:11
  • this work with me for the emulators , but real devices still have problem ! – Developer So far Oct 28 '14 at 12:14
  • Very very strange bug this is happening on OS 10.10. Was working fine OS 10.9 Thanks for sharing and saving my time :) – Shan Xeeshi Nov 02 '14 at 03:37
  • 1
    Double clicking on the invisible row would still perform the action! – Himanshu Likhyani Nov 12 '14 at 11:37
  • Perhaps Google did this on purpose?! You never know ;-) Thanks for a great find, you saved me a lot of time! – rutash Nov 12 '14 at 14:40
  • Does anyone know if this was filed as a bug with Google? – Etienne Nov 12 '14 at 20:50
  • Thank You! I had noticed that unplugging and replugging the device also makes it pop up so I thought that it was a hardware issue. – David Nov 13 '14 at 04:26
4

Another working solution is:

Disconnect and reconnect the device while the Android Device Chooser Popup is open.

Mehlyfication
  • 419
  • 5
  • 8
2

If you have more than one device connected, tap the down arrow on your keyboard to reveal the hidden device. Then click OK or press Enter like normal. Otherwise, just press Enter. The device is already there, just not visible.

jakeneff
  • 463
  • 5
  • 7
0

Similar problem, after upgrading to Yosemite, but with a BlackBerry 10 device running an Android build from Eclipse.

Solution:
Run app and wait for the Android Device Chooser to popup. My dialog showed an empty list. Whilst the dialog is showing, disconnect and reconnect the device via the BlackBerry adb proxy. After doing so, the BlackBerry device automatically showed up in the dialog and I could choose it and run the build successfully.

Sean
  • 1
0

What worked for me was ticking on/off the USB debugging mode in the device Developers options, but the solution in the selected answer is better...

Guy S
  • 1,334
  • 1
  • 11
  • 28
0

It seems like a Eclipse UI view refresh issue new to Yosemite. I notice that my logcat filter textview goes completely white as soon as it loses focus - making it look like you have no filter defined. Gross.

Michael
  • 484
  • 4
  • 11