2 llw21680 llw21680 于 2016.02.16 16:41 提问

抱歉,进程com.android.systemui已停止运行 的错误?

我原来开发板是7寸屏,而现在产品用的是5寸屏,LCD驱动调通之后进入android会出现“抱歉,进程com.android.systemui已停止运行 ”的提示框。我用之前的android代码,不知道哪里的问题!期待您的帮助,公司可以付咨询费。
图片说明

2个回答

llw21680
llw21680   2016.02.17 09:20

通过logcat发现,错误信息如下:
E/AndroidRuntime(19349): FATAL EXCEPTION: main
E/AndroidRuntime(19349): Process: com.android.systemui, PID: 19349
E/AndroidRuntime(19349): java.lang.NullPointerException
E/AndroidRuntime(19349): at com.android.systemui.statusbar.phone.NavigationBarView.setDisabledFlags(NavigationBarView.java:390)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.phone.NavigationBarView.notifyScreenOn(NavigationBarView.java:318)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.phone.PhoneStatusBar.notifyNavigationBarScreenOn(PhoneStatusBar.java:821)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.phone.PhoneStatusBar.access$3800(PhoneStatusBar.java:110)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.phone.PhoneStatusBar$30.onReceive(PhoneStatusBar.java:2475)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:638)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:2269)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:2243)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:253)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:349)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)
E/AndroidRuntime(19349): at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)
E/AndroidRuntime(19349): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(19349): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(19349): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime(19349): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(19349): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(19349): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:813)
E/AndroidRuntime(19349): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
E/AndroidRuntime(19349): at dalvik.system.NativeStart.main(Native Method)

llw21680
llw21680   2016.03.15 09:25

布局文件有缺失,我的是这样的

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!