简体   繁体   中英

How to connect internet to android emulator?

Hi I am using HVGA Emulator with platform 4.4, I have internet connection in my computer but when I am trying access internet from my emulator it is not connecting. I have already given the permissions in manifest.xml like

<uses-permission android:name="android.permission.INTERNET" />

But still it is not connecting. it is showing "Unfortunately Browser has been stopped". Why ? Any suggestions.

Else please suggest good versions of emulator which can access internet and targeted from lower version.

Assuming your problem is occurring when you're on a wireless network and you have a LAN card installed, the issue is that the emulator tries to obtain its DNS settings from that LAN card. Not a problem when you're connected via that LAN, but utterly useless if you're on a wireless connection. I noticed this when I was on my laptop.

So, how to fix? Simple: Disable your LAN card. Really. Just go to your Network connections, find your LAN card, right click it and choose disable. Now try your emulator. If you're like me, it suddenly ... works!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM