2020年9月5日星期六

安卓10.0/9.0/8.1/7.1.x/6.x WiFi和信号出现叉x号或者感叹号的消除办法


 安卓10.0/9.0/8.1/8.0/7.1.2 :

1.开启usb调试,连接数据线

2.安装adb-tools

sudo apt-get install android-tools-adb  ##ubuntu 

sudo pacman -Sy android-tools   ## ARCH

3.打开命令提示符

adb devices   ##首次连接,同意调试,确定

adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204

然后开启飞行模式,然后关闭飞行模式解决!

安卓7.1/7.0 :

adb shell settings delete global captive_portal_server  

adb shell settings put global captive_portal_detection_enabled 0