android - Android模拟器上的3g连接

标签 android android-emulator 3g

我正在http://android-er.blogspot.com/2012/03/search-woeid-from-httpqueryyahooapiscom.html中尝试这个示例应用程序。

之前,当我尝试其他示例应用程序时,我能够访问谷歌地图和互联网。

但是,我不确定是什么原因导致 Android 模拟器中的 3g 连接现在显示 X。

在模拟器中,我还勾选了设置-移动网络-数据启用-勾选。

在 list 文件中,我放入了这个“”。

我什至重新安装了我的 Eclipese 和 Android SDK,看看是否有帮助。

我目前使用的是 Eclipse 版本:3.7.2 和 Android SDK 4.03

有人可以告诉我如何在模拟器中连接到 3g 吗?

最佳答案

您是否尝试在模拟器打开时按 F8?它应该打开/关闭网络( http://developer.android.com/guide/developing/tools/emulator.html#KeyMapping )。

如果这不起作用,也许您可​​以尝试从命令行使用“adb shell”登录模拟器 shell,然后 ping 网站以获取有关错误的更多线索。

关于android - Android模拟器上的3g连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10766377/

相关文章:

android - 需要更新服务版本?

java - Android Maven 没有启动模拟器

Android 模拟器不使用 Windows 主机文件?

android - OAuth : Exception on retrieveAccessToken() while connecting with yahoo on emulator?

android - 如何知道当前设备上运行的互联网连接?

java - 如何将位图从服务发送到 java、android 中的主程序?

android - 收到新的FCM消息(前景和背景)时,Android应用程序崩溃

android - 运行 Android 应用程序时出现错误 "The connection to adb is down"

ios - 如何强制 iOS 应用程序使用 3G 而不是 WiFi?

android - 如何为没有 3g 功能的 android 平板电脑连接 3g usb 调制解调器