问题描述
我从小牛更改为优胜美地,现在我不能再使用任何Genymotion设备了。
您可以在Eclipse中看到设备,但是当您想要运行应用程序时,您无法选择这些设备之一。
我已经重新安装了Eclipse,Genymotion和Virtualbox ...
Genymotion虚拟设备管理器显示一个Nexus 5,它被声明为'On'
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $% 。
这是eclipse中的一个错误 - OSX优胜美地,您需要做的是在Android设备选择器窗口中,尝试调整序列号标签,您将请参阅正在运行的genymotion仿真器
如果没有看到,或者Android设备选择器窗口没有出现,请在运行之前检查三件事情再次:
- 开发人员选项已从设置启用(重复即使开发人员
选项在genymotion仿真器中的应用列表中可用 - 在设置>安全性中,确保未知来源已启用
- 转到运行配置(对于Android应用),选择目标选项卡,启用始终提示选择设备并点击应用。
此外,我从,并将其替换为eclipse的插件文件夹。
编辑
AOSP的问题跟踪器中已经开启了一个错误。
在此页面底部有一个指向为此问题投票的链接 ...
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..
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:
- Developer Options is enabled from settings (by repeated touching 7times the build number in about phone), even though developeroptions is available in the list of apps in genymotion emulator
- In Settings>Security, make sure "Unknown Sources" is enabled
- 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.
At bottom of this page, there is a link to 'Vote for this issue' ...
这篇关于Genymotion设备在OS X优胜美地的Eclipse中无法使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!