Emulator proxy
Hi is it possible set emulator proxy configuration? Like
emulator -avd myavd -http-proxy http://168.192.1.2:3300
Yes this is possible. Note that you cannot pass in the -avd myavd flag. The docker container uses a preconfigured Pixel2 avd.
You can pass in additional parameters as follows:
-
Create the container with the extra flag:
$ emu-docker create emuzip imgzip --extra "-http-proxy http://168.192.1.2:3300" -
Or launch the container with additional parameters:
$ ./run.sh <container_id> -http-proxy http://168.192.1.2:3300
Hi! I'm using docker-container-proxy, and it's working good with emulator
Hi! Proxy not working if i use adb shell settings put global http_proxy ip:port We need set proxy without reboot or recreate image
You are likely running into docker networking issues, see: Issue 140