Genymotion设备在OS X优胜美地的Eclipse中无法使用 [英] Genymotion devices not working in Eclipse on OS X Yosemite

查看:204
本文介绍了Genymotion设备在OS X优胜美地的Eclipse中无法使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从小牛更改为优胜美地,现在我不能再使用任何Genymotion设备了。
您可以在Eclipse中看到设备,但是当您想要运行应用程序时,您无法选择这些设备之一。




我已经重新安装了Eclipse,Genymotion和Virtualbox ...





Genymotion虚拟设备管理器显示一个Nexus 5,它被声明为'On'
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $% 。

解决方案

这是eclipse中的一个错误 - OSX优胜美地,您需要做的是在Android设备选择器窗口中,尝试调整序列号标签,您将请参阅正在运行的genymotion仿真器



如果没有看到,或者Android设备选择器窗口没有出现,请在运行之前检查三件事情再次:


  1. 开发人员选项已从设置启用(重复即使开发人员
    选项在genymotion仿真器中的应用列表中可用

  2. 在设置>安全性中,确保未知来源已启用

  3. 转到运行配置(对于Android应用),选择目标选项卡,启用始终提示选择设备并点击应用。

此外,我从 Genymotion下载页面下载了jar文件,并将其替换为eclipse的插件文件夹。



编辑



AOSP的问题跟踪器中已经开启了一个错误。



问题78436:[ADT / Eclipse]即使在设备视图中出现,Android设备选择器对话框中看不到我的设备



在此页面底部有一个指向为此问题投票的链接 ...


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:

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

这篇关于Genymotion设备在OS X优胜美地的Eclipse中无法使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆