问题
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
回答1:
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!
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.
回答2:
Another working solution is:
Disconnect and reconnect the device while the Android Device Chooser Popup is open.
回答3:
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.
回答4:
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.
回答5:
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...
回答6:
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.
来源:https://stackoverflow.com/questions/26416532/just-upgraded-my-os-x-to-yosemite-android-device-chooser-not-showing-device-w