https://developer.android.google.cn/studio/releases/platform-tools.html
# 如要使用http,需要先写入关闭https验证的配置,再填写http服务器。然后开启飞行模式,再打开感叹号即可消失。
adb shell settings put global captive_portal_use_https 0
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
# 使用默认,即删除配置 
adb shell settings delete global captive_portal_http_url
adb shell settings delete global captive_portal_https_url
adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh
1.首先开启usb调试,然后用数据线连接电脑和手机。
2.然后解决好您的adb驱动问题
3.在电脑开始菜单-运行 输入cmd,打开命令提示符
依次输入下面语句
adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204