我想在我的Android模擬器上使用Internet。當我打開瀏覽器時,我收到錯誤「沒有Internet連接」。 當我去設置 - >無線&網絡 - >移動網絡,我得到「應用程序設置」進程com.android.setting「意外停止。」錯誤在Android模擬器上衝浪interent時出現「process 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!
發表您的日誌貓在這裏 –
@UsmanKurd我編輯我的logcat的問題。此外,我沒有運行任何類型的應用程序只需訪問模擬器中的普通瀏覽器。 – user1929431
你有沒有在清單文件中聲明你的活動? –