解决bug:使用Genymotion模拟器时,出现Unable to create virtual device: Connection timeout occurred

简介: 解决bug:使用Genymotion模拟器时,出现Unable to create virtual device: Connection timeout occurred

Bug:Unable to create virtual device: Connection timeout occurred


1.问题描述


使用Genymotion时,下载模拟器时出现Unable to create virtual device: Connection timeout occurred。


如果想了解Genymotion模拟器的安装和使用,可以点击地址


http://blog.csdn.net/sun_promise/article/details/53434423看看。


2.问题分析


之前一直都是真机测试的,但因为需要解决Android系统7.0上出现的问题,而目前市场上机型不多,身边也没有这样的手机,临时使用模拟器Genymotion,结果安装使用时出现了上述bug时,开始以为是网络问题,后来也查了一些资料,试了很多办法,令我就很诧异,一直无法解决,虽然遇到这个问题的人很多,但是解决方案都类似,可却不适合我使用。后来,我反复检验网络、软件安装和环境等客观因素,但还是报错。之后才想到是不是基础设置有问题(其实不应犯这样的低级错误),检查后才恍然大悟,原来是因为VirtualBox的配置地址路径不对。(对于使用Genymotion的新手太容易犯这样的错误了,主要是因为对软件不够了解)


每个人遇到情况可能都不一样,但细心些都能找到问题所在,本人将自己的解决方式写出来给大家提供个参考吧。


3.解决方案


就是重新设置VirtualBox和SDK的安装路径。如图:


设置VirtualBox的安装路径

image.png

设置Android SDK的安装路径

image.png

目录
相关文章
|
3天前
|
开发工具 Android开发 Windows
Android应用] 问题2:ERROR: unknown virtual device name:
Android应用] 问题2:ERROR: unknown virtual device name:
Flutter之运行提示Could not update files on device: Connection closed before full header was received
Flutter之运行提示Could not update files on device: Connection closed before full header was received
684 0
|
5月前
|
网络协议 Android开发 虚拟化
Android Studio无法运行程序调试程序出现Unable to connect to ADB.Check the Event Log for possible issues.Verify th
Android Studio无法运行程序调试程序出现Unable to connect to ADB.Check the Event Log for possible issues.Verify th
64 0
Android Studio无法运行程序调试程序出现Unable to connect to ADB.Check the Event Log for possible issues.Verify th
|
5月前
|
iOS开发 MacOS
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
|
12月前
|
iOS开发
Xcode运行报错Failed to prepare device for development.解决办法
Xcode运行报错Failed to prepare device for development.解决办法
529 0
重装驱动:Failed to initialize NVML: Driver/library version mismatch
重装驱动:Failed to initialize NVML: Driver/library version mismatch
549 0
飞思卡尔codewarrior下载出现USBD connection error:Failed to connect to targe(Reason :Target reset pin time out)
飞思卡尔codewarrior下载出现USBD connection error:Failed to connect to targe(Reason :Target reset pin time out)
飞思卡尔codewarrior下载出现USBD connection error:Failed to connect to targe(Reason :Target reset pin time out)
|
iOS开发
Xcode报错:Failed to find a suitable device for the type SimDeviceType解决方法
Xcode报错:Failed to find a suitable device for the type SimDeviceType解决方法
184 0
|
iOS开发
iOS linker command failed with exit code 1 (use -v to see invocation)解决方法
iOS linker command failed with exit code 1 (use -v to see invocation)解决方法
1716 0
|
Android开发
在Eclipse中执行Andorid test preject提示The connection to adb is down, and a severe error has occured.解决方法
启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误.在网友说在任务管理器上把所有adb.
822 0