在Android模拟器没有互联网连接 [英] No internet connection on Android emulator

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

问题描述

当我使用了Android 4.0.3的AVD指定为目标,我可以使用浏览器和浏览的网页。但是,当我使用谷歌API作为目标我没有连接(我得到下一个错误:此应用程序需要有效的数据连接)。我开始用同样的参数都自动真空淀积系统:
C:\\用户\\ blahblah \\ Android的SDK-WINDOWS \\工具> emulator.exe -avd AvdName -http代理的http:// 123.456.789.123:5678 (而不是实际的代理ADRESS =))。可能是什么问题?

When i use an AVD with Android 4.0.3 specified as target I can use the browser and view the pages. But when I use Google API as target I have no connection(i get the next error: "This application requires a working data connection"). I start both AVDs with the same parameters: C:\Users\blahblah\android-sdk-windows\tools>emulator.exe -avd AvdName -http-proxy http://123.456.789.123:5678 (Not the actual proxy adress =) ). What could be the problem?

推荐答案

请检查您是否可以看到最上面一栏3G的标志。
如果没有去设置>无线和网络>移动网络>
检查启用数据是否被选中,如果没有选中做。
否则只需preSS F8。
既然你用代理地址开始AVD这一定是这个问题。

Please check whether you can see the 3g symbol in the top bar. If not go to Settings> Wireless & Networks> Mobile Networks> and check whether Data enabled is checked, If it is not checked do it. Else simply press F8. Since you started the AVD with proxy address this must be the problem.

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

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