如何消除原生Android原生网络连接显示X或者惊叹号
操作步骤
1、首先,打开 CMD,进入雷电模拟器目录:
D:\>cd D:\Program Files (x86)\dnplayer2
2、手机进入开发者调试模式
3、在CMD里输入:adb devices
4、输入更换请求服务器地址:
adb shell "settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204"
adb shell "settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204"
重启手机,大功告成
共有 0 条评论