I have a very recurrent problem in my Android Emulator that is whenever i use a vpn (such as FortiClient) on my computer, my emulator internet stops working. I've tried differents approachs but nothing seems to work.
Emulators tested:
Galaxy Nexus API 29 (no play store)
Pixel 2 API 30 (have play store)
3.2 HGVA slider API 29 (no play store)
What i've tried:
Close Emulator & VPN, restart VPN & Emulator (simple)
Turn off wifi, emu data, and restarted. (simple)
Cold boot now and/or wiped data from Android Studio.
Changed emulators, without Google Play services and with
Added ports 8.8.8.8 to my computer wifi connection, with and without vpn on
I Have internet permissions in my AndroidManifest.xml (main and debug)
Also i know is nothing to do with my code because i've already tried to use emulator google chrome without running any code and no internet happens :(
But if you're curious, here is some log
SocketException: Failed host lookup: 'ehnet.laholando.com' (OS Error: No address associated with hostname, errno = 7)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…