Genymotion设备未出现在设备选择器上-Android Studio [英] Genymotion Device doesn't appear on Device Chooser - Android Studio

查看:97
本文介绍了Genymotion设备未出现在设备选择器上-Android Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用虚拟Box和Genymotion插件(Android Studio)安装了Genymotion,创建了一个新设备,即使在Android Studio中也可以正常运行.

I installed Genymotion with a virtual Box and the Genymotion plugin (Android Studio), created a new device and runs properly, even from Android Studio.

但是,当我按下运行"按钮时,Genymotion设备没有出现在设备选择器"上,它在选择正在运行的设备"单选按钮下显示了"没有内容".如何使Genymotion设备出现在设备选择器中并运行我的应用程序? SDK管理器缺少我吗?

However when I hit the Run button, the Genymotion device does not appear on the Device Chooser, it says 'Nothing to Show' under the 'Choose a running device' radio button. How can I get the Genymotion device to appear on the Device Chooser and run my app? Is it something I am missing from the SDK manager?

推荐答案

之所以会发生这种情况,是因为Genymotion随附了过时的Android工具.要解决,请按照以下步骤操作:

This happens because Genymotion is shipped with outdated Android tools. To solve follow the steps:

  • 打开Genymotion应用程序,
  • 转到设置-> ADB
  • 选择使用自定义Android SDK工具"
  • 然后选择您的Android SDK的位置.

在装有最新Studio版本的Mac上:

On Mac with a recent version of Studio that would be:

/Users/username/Library/Android/sdk/

这篇关于Genymotion设备未出现在设备选择器上-Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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