wsl2和VMware、模拟器不兼容

2022/2/5 7:14:13

本文主要是介绍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


这篇关于wsl2和VMware、模拟器不兼容的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程