资源文件找不到
155*****294 发布于2016-08 浏览:1159 回复:2
0
收藏
快速回复

   java.lang.RuntimeException: Unable to start activity ComponentInfo{bluetooth.goertek.com.voicerecognitionphone/com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog}: android.content.res.Resources$NotFoundException: Resource ID #0x0
                                                                                                 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401)
                                                                                                 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2463)
                                                                                                 at android.app.ActivityThread.access$900(ActivityThread.java:175)
                                                                                                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1366)
                                                                                                 at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                                 at android.os.Looper.loop(Looper.java:135)
                                                                                                 at android.app.ActivityThread.main(ActivityThread.java:5400)
                                                                                                 at java.lang.reflect.Method.invoke(Native Method)
                                                                                                 at java.lang.reflect.Method.invoke(Method.java:372)
                                                                                                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:927)
                                                                                                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:722)
                                                                                              Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x0
                                                                                                 at android.content.res.Resources.getValue(Resources.java:1289)
                                                                                                 at android.content.res.VivoResources.getValue(VivoResources.java:181)
                                                                                                 at android.content.res.Resources.getDrawable(Resources.java:808)
                                                                                                 at android.content.res.Resources.getDrawable(Resources.java:775)
                                                                                                 at com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog.initResources(BaiduASRDigitalDialog.java:575)
                                                                                                 at com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog.initView(BaiduASRDigitalDialog.java:292)
                                                                                                 at com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog.onCreate(BaiduASRDigitalDialog.java:285)
                                                                                                 at android.app.Activity.performCreate(Activity.java:6089)
                                                                                                 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1115)
                                                                                                 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2354)
                                                                                                 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2463)
                                                                                                 at android.app.ActivityThread.access$900(ActivityThread.java:175)
                                                                                                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1366)
                                                                                                 at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                                 at android.os.Looper.loop(Looper.java:135)
                                                                                                 at android.app.ActivityThread.main(ActivityThread.java:5400)
                                                                                                 at java.lang.reflect.Method.invoke(Native Method)
                                                                                                 at java.lang.reflect.Method.invoke(Method.java:372)
                                                                                                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:927)
                                                                                                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:722)

收藏
点赞
0
个赞
共2条回复 最后由用户已被禁言回复于2022-04
#3c5812回复于2016-08

楼上正解

0
#2co...d@gmail.com回复于2016-08

是不是用的百度UI,这样的话layout的布局得弄进去

0
TOP
切换版块