[英]Can't launch the AVD on the Android Studio 2.3
I'm using Android Studio 2.3.1 on my Ubuntu17 system and I'm newbie in Android developement. 我在我的Ubuntu17系统上使用Android Studio 2.3.1,而且我是Android开发中的新手。
So when I wanted to test my first code on the AVD I got this screen: 所以,当我想在AVD上测试我的第一个代码时,我得到了这个屏幕:
So when I choose the Nexus Virtual Device nothing happens and this is what i got: 因此,当我选择Nexus虚拟设备时,没有任何事情发生,这就是我得到的:
Nothing happens and I see always the message: 什么都没发生,我总是看到这样的信息:
Waiting for target device to come online.
等待目标设备上线。
And aftre a while I got this message: 并且有一段时间我收到了这条消息:
Error while waiting for device: Timed out after 300seconds waiting for emulator to come online.
等待设备时出错:等待仿真器上线300秒后超时。
Of course I enabled ADB Integration. 当然我启用了ADB集成。
Please any help for this problem 请帮忙解决这个问题
I highly suggest that don't use AS AVD instead install Genymotion its free in your File > Settings > Plugins
then search for Genymotion and install. 我强烈建议不要使用AS AVD,而是在
File > Settings > Plugins
免费安装Genymotion,然后搜索Genymotion并安装。 But sometimes Virtual Device is not accurate in your phones DPI. 但有时虚拟设备在手机DPI中并不准确。 Then you should build or test your application using a real device :)
然后你应该使用真实设备构建或测试你的应用程序:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.