admin管理员组

文章数量:1530864

1. 确认电脑上装了adb

2. 挨个执行以下命令

adb shell settings delete global captive_portal_mode

adb shell settings put global captive_portal_mode 0
adb shell settings get global captive_portal_mode

adb shell settings delete global captive_portal_https_url
adb shell settings delete global captive_portal_http_url

adb shell settings put global captive_portal_http_url http://connect.rom.miui/generate_204
adb shell settings put global captive_portal_https_url https://connect.rom.miui/generate_204
执行完,切为飞行模式,再切换回来就好了

另外,如果app访问不了网络,或网页打开有问题,可能是手机时间不对,两种解决方法:

1. 关闭自动校准时间,手动将时间改对

2. adb shell "settings put global ntp_server pool.ntp"

本文标签: 感叹号手机网络pixelwifi