Android emulator no internet connectivity

雨燕双飞 提交于 2019-12-18 05:22:43

问题


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)



来源:https://stackoverflow.com/questions/5801204/android-emulator-no-internet-connectivity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!