在Android模拟器3G连接 [英] 3g connection on android emulator
问题描述
我想出的http://android-er.blogspot.com/2012/03/search-woeid-from-httpqueryyahooapiscom.html.
previously当我尝试了其他示例应用程序,我就能够访问谷歌地图和互联网。
Previously when I was trying out other sample app, I was able to access google map and internet.
不过,我不知道是什么原因造成了Android模拟器我的3G连接现在显示一个X。
However, I am not sure what is causing my 3g connection in the android emulator to show an X now.
在模拟器中,我还检查设置 - 移动网络 - 数据启用 - 打勾。
In the emulator, I have also checked Settings-Mobile Networks-Data enabled-ticked.
在清单文件,我已经把这个。
In the manifest file, I have put in this " " .
我甚至重新安装了Eclipese和Android SDK来看看是否有帮助。
I even reinstalled my Eclipese and Android SDK to see if it helps.
我目前使用的Eclipse版本:3.7.2和Android SDK 4.03
I am currently using Eclipse Version: 3.7.2 and Android SDK 4.03
有人能告诉我我能做些什么来连接在模拟器到3G?
Can someone advise me what can I do to connect to 3g in the emulator?
推荐答案
您已经尝试pressing F8而仿真器是开放的?它应该开启/关闭( http://developer.android网络。 COM /引导/开发/工具/ emulator.html#键盘映射)。
Have you tried pressing F8 while the emulator is open? It should toggle the networking on/off ( http://developer.android.com/guide/developing/tools/emulator.html#KeyMapping).
如果不工作,也许你可以尝试登录到使用命令行亚行壳模拟器外壳和执行ping一个网站,以获得更多的线索到错误。
If that doesn't work, maybe you can try logging into the emulator shell with "adb shell" from the command line and pinging a website to get more clues into the error.
这篇关于在Android模拟器3G连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!