DEV Community

Discussion on: Build a Lightweight Docker Container For Android Testing

Collapse
 
yizhousun profile image
Joe Sun

Great instructions. I can start the emulator in the docker. However, I have one issue, I cannot access the network inside the avd.

I verified there is internet connection for the docker. But no internet connection
root@f42debaf16da:~# adb shell ping 8.8.8.8
connect: Network is unreachable

I tried to add -http-proxy 172.17.0.1:8080 or -dns-server 8.8.8.8 when run the emulator. But none of them work.

How can you have the internet connect for the emulator.