|
【Android】
[已经解决]android 8.1 点击设置-系统报错
发表于 2019-2-13 16:21:07
浏览:12705
|
回复:9
打印
只看该作者
[复制链接]
楼主
本帖最后由 hiking 于 2019-2-25 09:44 编辑
自己编译好的8.1固件,点击设置里面的系统报错:
官方固件8.1正常;
logcat :
- --------- beginning of system
- 01-18 09:19:05.303 238 889 E AudioHardwareTiny: vicent r 44100 c 2 ps 512 pc 6
- 01-18 09:19:05.305 238 889 E AudioHardwareTiny: PCM_CARD=4, error index
- 01-18 09:19:05.305 439 1518 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.settings/com.android.settings.Sets
- 01-18 09:19:05.305 238 889 E AudioHardwareTiny: start_output_stream() >>>> PCM_CARD_HDMI:0, PCM_CARD:-1, HdmiIn_snd_config.config:4<
- 01-18 09:19:05.306 238 889 E alsa_route: get_route_config() route_table is NULL!
- 01-18 09:19:05.306 238 889 E alsa_route: route_pcm_open() Can not get config of route
- 01-18 09:19:05.319 439 450 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.settings/com.android.settings.Sets
- --------- beginning of crash
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: FATAL EXCEPTION: main
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: Process: com.android.settings, PID: 1503
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settingsd
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.ActivityThread.-wrap11(Unknown Source:0)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: Caused by: java.lang.RuntimeException: Only one Looper may be created per thread
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.os.Looper.prepare(Looper.java:95)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.os.Looper.prepare(Looper.java:90)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at com.android.settings.system.ConnectToPcPreferenceController.<init>(ConnectToP)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at com.android.settings.system.SystemDashboardFragment.buildPreferenceController)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at com.android.settings.system.SystemDashboardFragment.getPreferenceControllers()
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at com.android.settings.dashboard.DashboardFragment.onAttach(DashboardFragment.j)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1223)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2407)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2186)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentM)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2043)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.ja)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:322)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7036)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7027)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
- 01-18 09:19:05.399 1503 1503 E AndroidRuntime: ... 9 more
- 01-18 09:19:05.905 439 454 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.launcher3/com.android.launcher3.L3
- 01-18 09:19:11.140 238 889 E AudioHardwareTiny: vicent r 44100 c 2 ps 512 pc 6
复制代码
麻烦指导一下,谢谢 |
|