电脑安装 ADB 与 Universal Android USB driver。 安卓手机开启 USB 调试,电脑打开CMD运行以下命令:

adb.exe shell settings put global captive_portal_use_https 1
adb.exe shell settings put global captive_portal_server captive.v2ex.co
adb.exe shell settings put global captive_portal_http_url http://captive.v2ex.co/generate_204
adb.exe shell settings put global captive_portal_https_url https://captive.v2ex.co/generate_204