0

我正在尝试在我的 Android 模拟器上使用 Internet。当我打开浏览器时,出现错误"No Internet connection"。当我进入设置 -> 无线和网络 -> 移动网络时,我得到“应用程序设置”进程 com.android.setting “已意外停止。” 错误

任何人都可以建议我解决这个问题。

任何帮助表示赞赏。

谢谢

注意:我没有处理任何应用程序。我只是想打开android模拟器的默认浏览器。

日志猫:

12-26 14:31:37.688: D/AndroidRuntime(481): Shutting down VM
12-26 14:31:37.688: W/dalvikvm(481): threadid=1: thread exiting with uncaught exception (group=0x4001d7f0)
12-26 14:31:37.707: E/AndroidRuntime(481): FATAL EXCEPTION: main
12-26 14:31:37.707: E/AndroidRuntime(481): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.phone/com.android.phone.Settings}; have you declared this activity in your AndroidManifest.xml?
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1404)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.app.Activity.startActivityForResult(Activity.java:2817)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.app.Activity.startActivity(Activity.java:2923)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.preference.Preference.performClick(Preference.java:828)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:190)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.widget.AdapterView.performItemClick(AdapterView.java:284)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.widget.ListView.performItemClick(ListView.java:3401)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.widget.AbsListView$PerformClick.run(AbsListView.java:1696)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.os.Handler.handleCallback(Handler.java:587)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.os.Handler.dispatchMessage(Handler.java:92)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.os.Looper.loop(Looper.java:123)
12-26 14:31:37.707: E/AndroidRuntime(481):  at android.app.ActivityThread.main(ActivityThread.java:4662)
12-26 14:31:37.707: E/AndroidRuntime(481):  at java.lang.reflect.Method.invokeNative(Native Method)
12-26 14:31:37.707: E/AndroidRuntime(481):  at java.lang.reflect.Method.invoke(Method.java:521)
12-26 14:31:37.707: E/AndroidRuntime(481):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:879)
12-26 14:31:37.707: E/AndroidRuntime(481):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:637)
12-26 14:31:37.707: E/AndroidRuntime(481):  at dalvik.system.NativeStart.main(Native Method)
12-26 14:31:37.717: W/ActivityManager(75):   Force finishing activity com.android.settings/.WirelessSettings
12-26 14:31:37.817: I/SurfaceFlinger(75): 
12-26 14:31:37.817: I/SurfaceFlinger(75): SurfaceFlinger::createSurface() : layer->mIdentity=68, LayerName= Sorry!
4

1 回答 1

0

试试,打开 AVD manager -> your emulator -> Edit.-> Hardware->New->GSM Modem Support。如果仍然无法正常工作

Android 模拟器上没有互联网 - 为什么以及如何修复? 读这个

如何将 android 模拟器连接到互联网 阅读此内容

于 2012-12-26T09:13:11.817 回答