No internet access in Android emulator

半世苍凉 提交于 2019-12-01 10:19:12

问题


I am not able to access internet in my emulator. It doesn't even connect to google on emulator browser. I have already checked Settings. Data Enabled checkbox is checked.

I referred to a few SO questions before posting the question.

As this answer suggests, I don't have wifi enabled. So that doesn't seem to be a problem. As another answer in the same question suggests, I tried giving it in Run configurations, but still nothing is changed.

If someone can give any idea, that will help me a lot.

Note: On my emulator's home screen, 3G appears, but its with grey lines. I think those lines should be white. I might be wrong on this.


回答1:


add GSM Modem Support to your emulator.

open AVD manager -> your emulator -> Edit.-> Hardware->New->GSM Modem Support.




回答2:


You should check for http proxy settings in Tools of android sdk Manager in Eclipse.



来源:https://stackoverflow.com/questions/13682257/no-internet-access-in-android-emulator

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