1.开启开发者模式,把USB调式打开
2.用数据线连接电脑
3.下载adb工具,https://developer.android.com/studio/releases/platform-tools
4.解压adb工具
5.运行cmd进入adb工具目录
6.cmd输入命令
安卓6.X/5.X系统(信号栏显示感叹号),命令为:
adb shell settings put global captive_portal_server http://www.g.cn
安卓7.X/8.X系统(信号栏显示叉号),命令为:
adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204
7.此时手机会提示是否进行调试,点是
8.cmd再次输入第6步的命令
9.打开飞机模式, 再关闭飞行模式,或者重启手机,信号栏的叉没有了
2.用数据线连接电脑
3.下载adb工具,https://developer.android.com/studio/releases/platform-tools
4.解压adb工具
5.运行cmd进入adb工具目录
6.cmd输入命令
安卓6.X/5.X系统(信号栏显示感叹号),命令为:
adb shell settings put global captive_portal_server http://www.g.cn
安卓7.X/8.X系统(信号栏显示叉号),命令为:
adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204
7.此时手机会提示是否进行调试,点是
8.cmd再次输入第6步的命令
9.打开飞机模式, 再关闭飞行模式,或者重启手机,信号栏的叉没有了