执行两个动作:
1. # 删除默认的地址
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://captive.v2ex.co/generate_204
adb shell settings put global captive_portal_https_url https://captive.v2ex.co/generate_204
2.检查系统的日期 年、月、日、时、分、秒是否是正确的北京时间。与标准北京时间相差不能超过90秒,否则无法访问网络。