Genymotion devices not working in Eclipse on OS X

2019-03-12 07:18发布

问题:

I updated from Mavericks to Yosemite and now I can't use any Genymotion device anymore.
You can see the devices in Eclipse, but when you want to run an application you can't select one of these devices.

I've already re-installed Eclipse, Genymotion and Virtualbox...


The Genymotion Virtual Devices Manager shows a Nexus 5 which is stated 'On'

When I want to run my application, there is no Nexus 5..

回答1:

This is a bug in eclipse - OSX yosemite, what you need to do is in the Android Device Chooser Window, try to RESIZE THE SERIAL NUMBER TAB and you will see the genymotion emulator that is running

If you don't see it, or the Android Device Chooser Window doesn't appear, check three things before running again:

  1. Developer Options is enabled from settings (by repeated touching 7 times the build number in about phone), even though developer options is available in the list of apps in genymotion emulator
  2. In Settings>Security, make sure "Unknown Sources" is enabled
  3. Go to Run Configuration (for Android app), select the Target Tab, Enable Always prompt to pick device and hit apply.

Additionally I downloaded the jar files from Genymotion Download Page manually and replaced it in the plugin folder of eclipse.

EDIT

FYI, a bug has been opened in AOSP's issue tracker.

Issue 78436: [ADT/Eclipse] Cannot see my device in the Android Device Chooser dialog even though it is there in the Devices view

At bottom of this page, there is a link to 'Vote for this issue' ...



回答2:

I can resolve this problem by connect a real device one time.



回答3:

Please scroll down and see list of devices which is connected to ADB.



回答4:

I had a similar issue, but my problem was that the emulated device was running Android 4.3 (SDK version 18), but the app had android:minSdkVersion="19" so since no compatible device was found the list was empty.

Double check your emulated device version, and the minSdkVersion number, to make sure it's compatible.