Android emulator no internet connectivity

2019-01-26 01:44发布

问题:

I'm running under windows xp sp3 and i have no firewall, no proxy, my internet connection works perfectly but android emulator have no connection (browser and app), i've tried some solutions like this one but infortunately not work. For information, my emulator used to work and this problem occurs suddenly..

Please help with this.

Thanks

回答1:

Start your from command prompt prompt like

your_path_of_android_sdk\tools\emulator -avd <AVD Name> -dns-server 8.8.8.8

I think this will help you out as a temporary solution.



回答2:

try to go to Settings > Wireless & Networks > Enable Wifi (if you get an error, restart emulator till it works ( its a bug in emulator, we all have this)