Skip to content

Instantly share code, notes, and snippets.

@nufeng1999
Last active April 19, 2024 00:02
Show Gist options
  • Star 28 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save nufeng1999/9ffb42044bc9b239c89180684819cabe to your computer and use it in GitHub Desktop.
Save nufeng1999/9ffb42044bc9b239c89180684819cabe to your computer and use it in GitHub Desktop.
[安装 Windows Subsystem for Android™️ ] 安装 Windows Subsystem for Android™️

1.获得 WAS 微软商店链接地址

https://www.microsoft.com/store/productId/9P3395VX91NR

2.下载 WAS 安装包

安装包抓包网址
https://store.rg-adguard.net/ 在这里输入上述商店链接,右边要选择Slow通道
(共有四个选项,分别是Fast,Slow,RP和Retail,分别对应Windows的Dev渠道,Beta渠道,RP渠道和正式版,目前只有Beta版本有发布)
找到最下面名为
"MicrosoftCorporationII.WindowsSubsystemForAndroid_*.msixbundle"
的包进行下载,即可获取最新的Beta版本的抓包

3.安装 msixbundle 文件

使用管理员身份运行powershell,输入命令
add-appxpackage "xxx"
(引号里的xxx是你的msix安装包所在的位置),然后按回车执行就行了

4.从Windows开始菜单打开新版的Windows Subsystem for Android进行体验

查看 Windows Subsystem for Android 的IP地址

5.为Windows Subsystem for Android安装上自己喜欢的APP方法

adb connect WSAIP地址  
adb install apk地址  

6.推荐安装上"微软桌面"APP

目前测试从"微软桌面"打开的安卓应用运行比较稳定,从Windows开始菜单打开的安卓应用运行中多出现闪退现象。

7.怎样获得安卓应用apk文件

推荐安装Wdinwos安卓腾讯的“应用宝”,获得apk文件。

8.关于WSA无法启动的注意事项

Win11 在启用或关闭windows功能里开启 “Windows 沙盒”,“Windows虚拟机监控程序平台”这两项,如果还不行,把 Hyper-V 项也开启。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment