Android Studio + Genymotion模拟器

1、Genymotion下载、安装

下载:

官网 https://www.genymotion.com

Resources - Download - 选 with VirtualBox

安装:

一路默认

启动:

会启动Virtual Box 和 Genymotion

2、创建、启动虚拟机

创建

Genymotion界面有个+号,点击即可创建

扫描二维码关注公众号,回复: 17341734 查看本文章

启动

如果启动报错:genymotion unable to start the virtual device.

解决:设置网络,会看到一堆 VirtualBox Host-Only Ethernet Adapter #1到#n,把#最大的那个启动即可。

3、Android Studio连接Genymotion

虽然已经启动了Genymotion,且在Android Studio设备下拉框里看到了刚才启动的虚拟机,但它前边有个红色叹号。

需要在Android Studio内安装Genymotion插件:

File - Settings - Plugins - MarketPlace, 搜索框输入 Genymotion

然后安装这个插件,前边的红色叹号消失,点击设备下拉框右侧绿色三角即可运行你工程对应的app到虚拟机上

猜你喜欢

转载自blog.csdn.net/piggy514/article/details/128339378
今日推荐