adb设置android代理

cooolr 于 2021-11-10 发布

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

注意:移除代理后要重启手机才能生效。设置代理可以多次设置,立即生效。