Genymotion devices not working in Eclipse on OS X

2019-03-12 07:09发布

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' Genymotion Virtual Devices Manager shows an Nexus 5 and the stat is 'On'

When I want to run my application, there is no Nexus 5.. Android Device Chooser doesn't show the Nexus 5

4条回答
成全新的幸福
2楼-- · 2019-03-12 07:19

Please scroll down and see list of devices which is connected to ADB.enter image description here

enter image description here

查看更多
男人必须洒脱
3楼-- · 2019-03-12 07:22

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' ...

查看更多
叛逆
4楼-- · 2019-03-12 07:33

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

查看更多
\"骚年 ilove
5楼-- · 2019-03-12 07:43

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.

查看更多
登录 后发表回答