首先,你要确定自己在快捷栏打开了流量开关 下面的所有代码,分行输入,不可以一次输入两行。 Android 11 adb shell settings put global captive_portal_mode 0adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204 Android 10 - Android7.1.1 adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204 Android 7.1 & Android 7.0 adb shell settings delete global captive_portal_serveradb shell settings put global captive_portal_detection_enabled 0