Google手机连接wifi显示受限

google手机开启开发者模式:设置-关于手机-点及版本号7次,会有开启弹窗 问题:连接网络,显示“已连接,但无法访问互联网” 原因:先去访问了谷歌的服务器

google手机开启开发者模式:设置-关于手机-点及版本号7次,会有开启弹窗

问题:连接网络,显示“已连接,但无法访问互联网”

原因:先去访问了谷歌的服务器,由于墙的原因访问不了,所以就提示"无法连接"(导致WiFi自动连接失效

解决方式:电脑通过usb数据线连接google手机,需要安装ADB,执行以下操作

adb devices//查看是否连接到测试机adb shell settings put global captive_portal_use_https 1
adb shell settings put global captive_portal_http_url http://captive.v2ex.co/generate_204
adb shell settings put global captive_portal_https_url https://captive.v2ex.co/generate_204
adb shell settings put global captive_portal_mode 0

改完开飞行模式,再关闭就可以了。