「LDPlayer」出师未捷身先死
目录
记录 LDPlayer 的安装和卸载过程.
动念
我想用某个 APP 下载某些资源,但不想长期占用手机,因此想要使用一个安卓模拟器安装该应用完成下载。
准备
因为这台电脑不能随意安装软件,因此网上找到了一个雷电模拟器的绿色免安包,版本号为 9.1.40.0。
搞起
使用很是简单方便,双击主程序可以正常启动运行,安装应用后可以正常下载资源。
麻烦
问题出现在重启后,电脑上的 WSL 2 发行版异常,无法正常启动,包括基于 WSL 2 的 Docker 同样无法启动。
具体表现为:
- 启动
Docker容器时ls: cannot access '/run/guest-services': No such file or directory - 启动
WSL 2时WslRegisterDistribution failed with error: 0x80370102 Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
解决
提示:以管理员权限启动
PowerShell运行下述命令
检查
Windows功能中Hyper V是否开启,或直接参考安装过程,重新开启dism.exe /online /enable-feature /featurename:Microsoft-Hyper-V-All /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart参考论坛方案
# use WSL 2 bcdedit /set hypervisorlaunchtype auto # use LDPlayer bcdedit /set hypervisorlaunchtype off重启电脑
后记
因为目前暂无共存方案,来回切换较为麻烦,因此暂时放弃使用安卓模拟器来下载资源。