admin管理员组文章数量:1130349
Android 7及之后的版本输入如下两个命令:
adb shell “settings put global captive_portal_http_url http://www.google/generate_204”
adb shell “settings put global captive_portal_https_url https://www.google/generate_204”
7之前的版本运行如下的命令:
adb shell “settings put global captive_portal_serverhttp://www.google/generate_204”
可以输入如下命令, 禁止检测网络连接状态.
adb shell settings put global captive_portal_detection_enabled 0
可以输入如下命令, 打开检测网络连接状态.
adb shell settings put global captive_portal_detection_enabled 1
可以输入如下的命令查看所支持的所有选项:
adb shell settings list global
Android 7及之后的版本输入如下两个命令:
adb shell “settings put global captive_portal_http_url http://www.google/generate_204”
adb shell “settings put global captive_portal_https_url https://www.google/generate_204”
7之前的版本运行如下的命令:
adb shell “settings put global captive_portal_serverhttp://www.google/generate_204”
可以输入如下命令, 禁止检测网络连接状态.
adb shell settings put global captive_portal_detection_enabled 0
可以输入如下命令, 打开检测网络连接状态.
adb shell settings put global captive_portal_detection_enabled 1
可以输入如下的命令查看所支持的所有选项:
adb shell settings list global
版权声明:本文标题:如何消除原生Android原生网络连接显示x或者惊叹号 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1729031321a927704.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论