在Android模拟器无法上网 [英] No internet access in Android emulator

查看:424
本文介绍了在Android模拟器无法上网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能在我的模拟器来访问互联网。它甚至没有连接到谷歌浏览器模拟器。我已经检查设置。数据启用复选框被选中。

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.

我提到的几个问题SO张贴问题之前。

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

由于这个答案表明,我没有WiFi功能。使得似乎并不成为一个问题。
作为另一个答案在同样的问题所暗示的,我试图给它在运行的配置,但仍没有改变。

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.

请注意:在我的模拟器的主屏幕,3G的出现,但它与灰线。我认为,这些线路应该是白色的。我可能是错的这一点。

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.

推荐答案

添加GSM调制解调器支持模拟器。

add GSM Modem Support to your emulator.

开放AVD管理器 - >模拟器 - >编辑.->硬件 - >新建 - > GSM调制解调器支持。

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

这篇关于在Android模拟器无法上网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆