[教程向]在Win10中安裝最新版安卓子系統(tǒng)

以下是詳細(xì)的文章教程
*系統(tǒng)需要 Windows 10 22H2 10.0.19045.2311 或更高版本
*WSA 安裝后, 解壓 WSA 的文件夾不可以刪除,刪除后WSA就沒(méi)有了
STEP1 制作WSA包:
1.按照上個(gè)視頻構(gòu)建WSA包
構(gòu)建WSA:BV1V54y1M7tX
2.到release頁(yè)面下載補(bǔ)丁,把 WsaPatch.dll 和 icu.dll 復(fù)制到 WSA 的 WsaClient 文件夾
https://github.com/cinit/WSAPatch
3.修改 AppxManifest.xml
3.1.找到TargetDeviceFamily 節(jié)點(diǎn),把 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" 的兩個(gè)節(jié)點(diǎn)
<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.以管理員身份運(yùn)行 Run.bat
STEP2 安裝WSA包:
1.打開(kāi)開(kāi)發(fā)者選項(xiàng)
2.注冊(cè)包
在powershell以管理員身份執(zhí)行
Add-AppxPackage -Register .\AppxManifest.xml
*附已構(gòu)建完畢的WSA下載地址:
鏈接:https://pan.baidu.com/s/12SPWmdi2a_HwfAsEPw6kTg?
提取碼:6gm1