-
设置代理
adb shell settings put global http_proxy 172.27.128.1:10809
- 移除代理
adb shell settings delete global http_proxy
adb shell settings delete global global_http_proxy_host
adb shell settings delete global global_http_proxy_port
注意:移除代理后要重启手机才能生效。设置代理可以多次设置,立即生效。