在android模拟器上冲浪互联网时获取错误“进程com.android.setting”

时间:2012-12-26 08:55:35

标签: java android android-emulator

我正在尝试在我的Android模拟器上使用互联网。当我打开浏览器时,我得到错误“没有互联网连接”。 当我去设置 - >无线&网络 - >移动网络,我得到“应用程序设置”进程com.android.setting “意外停止。”错误

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

感谢任何帮助。

由于

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

Logcat:

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!

1 个答案:

答案 0 :(得分:0)

尝试,打开AVD管理器 - >你的模拟器 - >编辑.->硬件 - >新 - > GSM调制解调器支持。 如果还没有工作那么

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

如何将Android模拟器连接到互联网 Read this