前进之路 发表于 2024-6-9 14:48:17

雷电模拟器桥接题目解决方法及ADB更改网络署理题目解决方法

https://img-blog.csdnimg.cn/36653987fada48c5874b9d67dedc0d0c.png
一、更改雷电模拟器网络设置

https://img-blog.csdnimg.cn/840006eccf8d41a28137c71000b5541e.png
1、选择“开启”
2、桥接网卡的选择:打开控制面板-网络毗连-更改适配器举行查看
https://img-blog.csdnimg.cn/69f3fc425abe4269b7415ecd1b341ed5.png3、点击“点击安装”安装驱动
4、设置静态IP
https://img-blog.csdnimg.cn/6f596fe05d3e4a4ca43e83d71235b645.png
选择一个同网段的静态IP地址,我这边选择:192.168.8.11
点击“生存”—“重启模拟器”
二、ADB更改全局网络署理

注:该署理设置后无法在假造器内部查看,只能通过adb方式举行查看。
设置署理

adb shell settings put global http_proxy 192.168.8.8:8088
移除署理方法1:须要重启

adb shell settings delete global http_proxy
adb shell settings delete global global_http_proxy_host
adb shell settings delete globan global_http_proxy_port
adb reboot
移除署理方法2:不须要重启

adb shell settings put global http_proxy :0

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页: [1]
查看完整版本: 雷电模拟器桥接题目解决方法及ADB更改网络署理题目解决方法