win11安卓子系统经常提示VirtWifi的连接受限处理教程

2023-12-17 www.dnxtw.com

随着win11系统的改进,许多用户已经升级。该系统有一个安卓子系统。许多用户在使用Virtwifi时遇到了有限的连接提示。这是由于ASOP系统的机制设计,当无法访问谷歌时。

  操作步骤如下:

  1、打开手机开发者模式

  启动适合android的windows子系统。

win11安卓子系统经常提示VirtWifi的连接受限解决教程

  打开这种开发人员模式。

win11安卓子系统经常提示VirtWifi的连接受限解决教程

  手机调试的IP和地址在这里可以看到,127.0.0.1:58526。

  2、下载ADB工具

  在纯英语路径下下下载ADB工具(如果你有,你会忽略它),比如C:/platform-tools

  3、启动ADB工具

  在资源管理器中打开C:/platform-tools,直接将cmd输入路径栏,返回车辆,打开命令提示。

win11安卓子系统经常提示VirtWifi的连接受限解决教程

  4、连接手机

  将adb输入命令提示行窗口 connect 127.0.0.1:58526,敲回车。

  connected出现提示 to 127.0.0.1:58526表示连接成功。

  5、修改网络测试域名

  输入命令提示行窗口:

  【adb shell settings put global captive_portal_server www.google.cn】。

  敲回车。

  【adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204】。

  敲回车。

  【adb shell settings put global captive_portal_https_url http://www.google.cn/generate_204】。

  敲回车。

  如果你连google.如果cn无法访问,可以尝试将其改为MIUI测试网站。

  输入命令提示行窗口:

  【adb shell settings put global captive_portal_server connect.rom.miui.com】。

  敲回车。

  【adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204】。

  敲回车。

  【adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204】。

  敲回车。

  注:ADB连接的前提是你启动了Android子系统,所以只要你至少有一个APP在运行。

相关阅读