wsl2和VMware、模拟器不兼容


VMware开启的虚拟机、安卓模拟器与wsl2、Docker Desktop for Windows不能共同使用,有兼容性问题

暂时找到的解决方案如下:

用完VMware或者模拟器,开始用wsl2

启用 hyper-v

bcdedit /set hypervisorlaunchtype auto
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

重启

wsl --shutdown
bash

用完wsl2,开始用VMware

禁用 hyper-v

bcdedit /set hypervisorlaunchtype off


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM