Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
765 views
in Technique[技术] by (71.8m points)

flutter - Android Emulator Without Internet Connection - Cause: Active VPN on Computer

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)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.6k users

...