adb设置代理
设置代理
配置代理命令如下:
adb shell settings put global http_proxy ip_address:port
示例,以ip 192.168.1.200 端口 3128为例( 实际配置时以你的代理为准 ):
adb shell settings put global http_proxy 192.168.1.200:3128
移除代理
取消代理命令如下,3条都需要执行:
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