mac下androidStudio 运行模拟器出现:
来源:互联网 发布:新开淘宝 编辑:程序博客网 时间:2024/06/07 23:11
最近在我的mac电脑上启动android虚拟机之后,会被自动关闭
查看了AndroidStudio上的日志,报如下错误:
Failed to sync vcpu regFailed to sync vcpu reg
Failed to sync vcpu reg
Internal error: initial hax sync failed
解决方法,关掉电脑上运行的虚拟机,包括VM Ware 以及 Docker之类的服务
到此,问题得到解决
参考地址:http://stackoverflow.com/questions/37397810/android-studio-unable-to-run-avd
I was trying to emulate an Ionic 1 app on an Android emulator with ionic emulate android -lcs
and encountered the same error: emulator: ERROR: Unfortunately, there's an incompatibility between HAXM hypervisor and VirtualBox 4.3.30+ which doesn't allow multiple hypervisors to co-exist. It is being actively worked on; you can find out more about the issue at http://b.android.com/197915 (Android) and https://www.virtualbox.org/ticket/14294 (VirtualBox)Failed to sync vcpu regFailed to sync vcpu regFailed to sync vcpu regInternal error: initial hax sync failed
I solved it by saving and suspending execution of all other running VMs with the following steps:
1) Quit Docker for Mac by clicking the whale icon in the top bar and selecting "Quit Docker". I believe this is required because the Docker Daemon (server) of Docker for Mac and Docker Toolbox automatically runs in a Linux VM when the Docker Client is running (you do not need to and cannot run it manually with dockerd
or docker daemon
). The Docker Client is running when the whale icon is in the top bar.
2) Stop all Vagrant VMs running on the host machine by running vagrant halt
, as they may be using Virtual Box as the provider. Check their state changes to Powered Off by running vagrant status
.
3) Stop all Virtual Box VMs by running virtualbox
to open Virtual Box GUI and then Right-click any VMs and select Close > Save State
4) Close and re-open your Terminal window before retrying
- mac下androidStudio 运行模拟器出现:
- AndroidStudio运行模拟器--夜神
- AndroidStudio运行模拟器--夜神
- Androidstudio 运行检测不到模拟器
- Android4.2.2源码在Mac下编译模拟器运行
- Mac下安装androidStudio
- Mac AndroidStudio检测不到模拟器的解决方案
- Mac下androidStudio的安装
- mac下androidstudio的快捷键
- 【总结】Mac下AndroidStudio快捷键
- mac 下运行.sh文件出现 Permission denied问题
- mac下配置cocos2d-x android项目环境并使Eclipse模拟器正常编译运行
- mac (OS X) 下Genymotion下载Android模拟器时出现 connection timeout occurred 不翻墙的解决办法
- AndroidStudio运行项目出现Failure [INSTALL_FAILED_DEXOPT]
- AndroidStudio运行项目出现DELETE_FAILED_INTERNAL_ERROR和INSTALL_CANCELED_BY_USER
- AndroidStudio运行项目出现DELETE_FAILED_INTERNAL_ERROR和INSTALL_CANCELED_BY_USER
- 2015-12-03 AndroidStudio模拟器运行失败的问题
- 利用AndroidStudio模拟器运行项目时 报出异常
- 转接IC NCS8801:RGB/LVDS转EDP/DP芯片
- Java(二)
- CSS-position
- 信息奥赛 循环节
- POJ1190生日蛋糕
- mac下androidStudio 运行模拟器出现:
- [笔记]算法复习笔记---排序算法(桶排序、冒泡排序)
- GYM 101149 K.Revenge of the Dragon(机智)
- Java和WebSocket开发网页聊天室
- border-radius制作圆形,半圆形,扇形,椭圆
- 240. Search a 2D Matrix II
- Unity教程之-unity3d移动平台性能优化专题(三):减少面数
- flask装饰器route实现路由功能理解
- 显示图像