最近在我的mac电脑上启动android虚拟机之后,会被自动关闭

查看了AndroidStudio上的日志,报如下错误:

Failed to sync vcpu reg

Failed to sync vcpu reg

Failed to sync vcpu reg

Internal error: initial hax sync failed

解决方法,关掉电脑上运行的虚拟机,包括VM Ware 以及 Docker之类的服务

到此,问题得到解决

I was trying to emulate an Ionic 1 app on an Android emulator with ionic emulate android -lcsand 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

android studio 模拟器 for mac,mac下androidStudio 运行模拟器出现:相关推荐

  1. mac下androidStudio 运行模拟器出现:

    最近在我的mac电脑上启动android虚拟机之后,会被自动关闭 查看了AndroidStudio上的日志,报如下错误: Failed to sync vcpu reg Failed to sync ...

  2. mac调试android studio,Mac系统下AndroidStudio真机调试

    Mac系统下AndroidStudio真机调试. 一.首先将android手机通过USB数据线连接Mac,获取设备的Product ID,这里提供两种获取方式: 打开终端输入:system_profi ...

  3. android studio gradle 配置copy,Mac系统配置Android Studio的gradle命令

    前言: 一般我们打包apk都是用的AndroidStudio直接签名生成,这就造成了很多人不知道gradle除了可以用来配置依赖外,还可以用来编译生成apk.还有就是,在使用apk插件框架的时候,就需 ...

  4. Android Studio 常用快捷键 for mac

    Android Studio 常用快捷键 for mac 查找/查看相关 ⌘O: 全局查找class类名<使用率非常高> ⌘F: 在当前编辑文件中查找<使用率非常高> | 对应 ...

  5. [Android Studio 权威教程]Windows下安装Android Studio

    从AS 0.5版本号開始使用.也是AS的推行者,在ApkBus公布的第一篇Android Studio Perview 2 获得了50K的浏览,1800多条回复下载. 在我的[Android Stud ...

  6. android studio在raw文件夹下使用MediaPlayer播放Mp3音乐

    android studio在raw文件夹下使用MediaPlayer播放Mp3音乐 1.在res文件夹下创建raw文件夹 2.在新建好文件夹之后,将MP3文件拖入进刚刚创建好的raw文件夹内 3.使 ...

  7. Android Studio安装中的问题及第一次运行hello world程序

    总结一下,在安装Android Studio中可能出现和遇到的问题,并给出解决方案. 1.AS在安卓官网可以直接下载完整的安装包. 2.SDK找不到的情况,可以自己下载,参考:https://www. ...

  8. android studio日志不打印,Mac 下 Android Studio 不打印日志的解决办法

    Mac 下 Android Studio 不打印日志的解决办法 Mac 下 Android Studio 不打印日志的解决办法 前言: 在 Mac 下使用 Android Studio 时常会遇到 A ...

  9. Android studio彻底取消代理Mac Windows

    目录 为何要关掉代理? 直接在android studio上面关闭不行吗? 如何彻底关闭代理? 为何要关掉代理? 因为代理没有关闭导致的问题,具体可以看下面这些博客: Android Studio 2 ...

最新文章

  1. Python装饰器-装饰流程,执行顺序
  2. nodejs(log4js)服务中应用splunk进行Log存储、搜索、分析、监控、警告
  3. 2009.11网络工程师考试案例试题学习攻略(1)
  4. VTK:可视化之MovableAxes
  5. rest_framework09:自动生成接口文档(简略)
  6. PgSQL · 最佳实践 · 从 MaxCompute (ODPS) 迁移数据到 HybridDB
  7. 前端怎么通过后台来判断已读状态_微前端自检清单
  8. Kettle下载资源
  9. php 开源 博客,推荐常用PHP开源博客TOP10
  10. 91m2中对DB进行了一次封装的DBHelpUtil工具类
  11. Android手机录制屏幕并转gif图
  12. 记一次安装protobuf的go协议生成插件protoc-gen-go的版本问题
  13. 有哪些高含金量的编程竞赛?
  14. android 调用系统打印
  15. f15纸飞机折法_折纸战斗机之F15鹰式折纸战斗机的折法视频教程【折纸飞机大全】...
  16. js实现点击按钮切换图片功能_☆*往事随風*☆的博客
  17. 赛灵思 Xilinx UG908 - Vivado Design Suite 用户指南:编程和调试(中文版) (v2020.2)
  18. UE4、UE5凋用第三方PC程序
  19. 云服务案例分析 BB平台 Quiz6
  20. ruby安装顺序简单讲解

热门文章

  1. python 读写csv文件(创建,追加,覆盖)
  2. mui.fire运用
  3. 本地测试dubbo远程调用找不到provider
  4. OpenCV图像基本操作——图像合成
  5. android6.0权限适配RxPermissions
  6. Unet语义分割训练和TensorRT部署
  7. Mysql数据库的分离和附加
  8. colorUI框架使用教程
  9. HTML5:Canvas
  10. android端集成FTP文件下载功能