Last Updated: May 23, 2019
· rock3r

Fix Internet connection in Android Emulator

If you're using an Android Emulator and it can't connect to the internet (even the browser won't work), it's likely that it's screwed up picking the wrong Network Adapter from the host system. The Emulator gets DNS setting from a host Network Adapter, so picking the wrong one might leave it with the wrong settings and render it unable to connect.

You now have two ways to fix the issue.

The first one is disabling all the Network Interfaces that aren't connected to the Internet. This is the easiest, but often less viable solution, as you'll likely need to keep those up (for example they might be VM virtual network interfaces, or else).

The second one is specifying a parameter to the Emulator, explicilty setting the DNS. Assuming you want to use Google's public DNS, you'll have to set -dns-server in the run configuration settings.

9 Responses
Add your response



over 1 year ago ·

awesome. I love it.

9 months ago ·

Thanks a lot man.. Saved me from connecting to VPN everytime I needed internet in emulator

9 months ago ·

I totally have no idea what you just said. I got to the 20-dns.conf screen in my koplayer app. do i edit in this screen? I feel like im so close. Just need to fix this network adapter and im golden. Please help.

6 months ago ·

I faced with this problem several times. But what should I do, if this two ways don't fix the problem?

3 months ago ·

I faced this problem when I was getting help from the E-learning Ways. But after I read these two methods then I apply it to my android phone and it works. Thank you for giving a very smart solution.

about 2 months ago ·

Play the mostly played games are there if you are like the online card games http://ginrummy.me to play the more games this website. and you have expand our good time then you have feel the happiness.

about 1 month ago ·

Yes, I found something wrong with my android phone for internet connection..Android emulator is a great version for the people who would like to get in their personal life style.These free exam dumps are useful for the development of this android emulator installation.

29 days ago ·