DevEco Studio 模拟器错误码

 模拟器错误码-使用模拟器运行应用-编写与调试应用 - 华为HarmonyOS开发者

https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/ide-emulator-faqs#section214296171615

pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL

  

存为:Hyper-v.cmd 用管理员运行

VMware Workstation Pro 与期冲突,不需要删除。

bcdedit /set hypervisorlaunchtype auto

  

bcdedit /copy {default} /d "Windows 10 Without Hyper-V"
bcdedit /set {ce54aea7-ad33-11e9-9022-f8edf66e1542} HyperVisorLaunchType OFF

  

 

 

 

 

 

 

 

posted @ 2025-07-21 22:51  ®Geovin Du Dream Park™  阅读(14)  评论(0)    收藏  举报