日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

mac下androidStudio 运行模拟器出现:

發布時間:2025/3/21 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mac下androidStudio 运行模拟器出现: 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

最近在我的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之類的服務

到此,問題得到解決

參考地址: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 -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


總結

以上是生活随笔為你收集整理的mac下androidStudio 运行模拟器出现:的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。