Skip to main content

找不到资源

Kawa
Support
arcspherebugqualifiedrewarded

小米9手机报这个错误

javascript
 Process: com.arcblock.sphere.production, PID: 18558
                                                                                                    android.view.InflateException: Binary XML file line #141 in com.arcblock.sphere.production:layout/activity_bottom_web: Binary XML file line #141 in com.arcblock.sphere.production:layout/activity_bottom_web: Error inflating class ImageView
                                                                                                    Caused by: android.view.InflateException: Binary XML file line #141 in com.arcblock.sphere.production:layout/activity_bottom_web: Error inflating class ImageView
                                                                                                    Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f0700d2
                                                                                                    Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f0700d2
                                                                                                    
at android.content.res.ResourcesImpl.getResourceName(ResourcesImpl.java:278)
                                                                                                    
at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:847)
                                                                                                    
at android.content.res.ResourcesImpl.originalLoadDrawable(ResourcesImpl.java:693)
                                                                                                    
at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:600)
                                                                                                    
at android.content.res.MiuiResourcesImpl.loadDrawable(MiuiResourcesImpl.java:307)
                                                                                                    
at android.content.res.Resources.loadDrawable(Resources.java:1010)
                                                                                                    
at android.content.res.TypedArray.getDrawableForDensity(TypedArray.java:1008)
                                                                                                    
at android.content.res.TypedArray.getDrawable(TypedArray.java:983)
                                                                                                    
at android.widget.ImageView.<init>(ImageView.java:209)
                                                                                                    
at android.widget.ImageView.<init>(ImageView.java:190)

8 replies

Wasil16 months ago

Great work!!🔥

Shuang Liu16 months ago

感谢反馈,还需要麻烦您描述下您当时做了什么操作出现的?

Kawa16 months ago

都是在帖子的时候查看帖子里面的链接

Shuang Liu16 months ago

和这个帖子内描述的内容是同一个问题吗? 空指针

Kawa16 months ago

不是同一个问题,一个是空指针,一个是找不到资源

Huangshan16 months ago

@Kawa 最新的版本还有这个问题吗? 我们没办法复现这个错误

Kawa16 months ago

目前这个就是最新版的,其他手机没问题,就是在小米9这台手机才会报这个错误闪退,点击链接打开就闪了

Huangshan16 months ago

好的,感谢

Reply