windows 11 安卓子项目 增加代理

D:\prog\WSAToolbox>adb kill-server

D:\prog\WSAToolbox>adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached

D:\prog\WSAToolbox>adb.exe connect 172.22.34.229:5555
connected to 172.22.34.229:5555

安卓系统的ip地址

D:\prog\WSAToolbox>d:

D:\prog\WSAToolbox>adb shell settings put global http_proxy 172.22.32.1:10809

Ethernet adapter vEthernet (WSL): 的地址

 

删除代理

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

发表回复

您的电子邮箱地址不会被公开。

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据