[教程向]在Win10中安装最新版安卓子系统

以下是详细的文章教程
*系统需要 Windows 10 22H2 10.0.19045.2311 或更高版本
*WSA 安装后, 解压 WSA 的文件夹不可以删除,删除后WSA就没有了
STEP1 制作WSA包:
1.按照上个视频构建WSA包
构建WSA:BV1V54y1M7tX
2.到release页面下载补丁,把 WsaPatch.dll 和 icu.dll 复制到 WSA 的 WsaClient 文件夹
https://github.com/cinit/WSAPatch
3.修改 AppxManifest.xml
3.1.找到TargetDeviceFamily 节点,把 MinVersion 从 10.0.22000.120 改成 10.0.19045.2311
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.22000.120" MaxVersionTested="10.0.22000.120"/>
3.2.删除 "customInstall" 的两个节点
<rescap:Capability Name="customInstallActions"/>
<desktop6:Extension Category="windows.customInstall">
<desktop6:CustomInstall Folder="CustomInstall" desktop8:RunAsUser="true">
<desktop6:RepairActions>
<desktop6:RepairAction File="WsaSetup.exe" Name="Repair" Arguments="repair"/>
</desktop6:RepairActions>
<desktop6:UninstallActions>
<desktop6:UninstallAction File="WsaSetup.exe" Name="Uninstall" Arguments="uninstall"/>
</desktop6:UninstallActions>
</desktop6:CustomInstall>
</desktop6:Extension>
4.以管理员身份运行 Run.bat
STEP2 安装WSA包:
1.打开开发者选项
2.注册包
在powershell以管理员身份执行
Add-AppxPackage -Register .\AppxManifest.xml
*附已构建完毕的WSA下载地址:
链接:https://pan.baidu.com/s/12SPWmdi2a_HwfAsEPw6kTg
提取码:6gm1