从shell设置Android代理

从shell设置Android代理

💡 原文中文,约700字,阅读约需2分钟。
📝

内容提要

本文介绍了如何通过adb命令在Android设备上设置和移除代理。设置代理的命令为`adb shell settings put global http_proxy ip:port`,例如`adb shell settings put global http_proxy 172.16.21.14:8888`。要移除代理,需要执行三条命令,并可能需要重启手机。

🏷️

标签

➡️

继续阅读