1. Change the network settings of the thunderbolt simulator
1. Select "Enable"
2. Select the bridge network card: open the control panel - network connection - change the adapter to view
3. Click "click to install" to install the driver
4. Configure static IP
and choose a static IP address in the same network segment. Side selection: 192.168.8.11
Click "Save" - "Restart Simulator"
2. ADB changes the global network proxy
Note: After the proxy is configured, it cannot be viewed inside the virtual machine, but can only be viewed through adb.
set proxy
adb shell settings put global http_proxy 192.168.8.8:8088
Remove proxy method 1: Restart required
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
Remove proxy method 2: no restart required
adb shell settings put global http_proxy :0