Emulator unable to connect to internet

后端 未结 7 465
醉话见心
醉话见心 2021-01-22 08:36

My machine is using a WiFi connection for internet, and the LAN card is idle. it\'s not behind a proxy or firewall, but somehow, my emulator\'s browser isn\'t loading any page.

7条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-22 09:23

    I had the same problem with OS X. I have been working for 2 days now to get the emulator to connect to the internet, all solutions I have read so far (use -dns-server, use proxy settings or disable unused netword devices) didn't work.

    This morning I started the emulator with sudo ./emulator -avd my_avd_name and it worked! Emulator was able to connect to the internet.

    So there is something wrong with privileges or so, I need to figure this out. But it works for the moment.

提交回复
热议问题