鍍金池/ 問答/Android/ 安卓應用上線后 出現(xiàn)了圖片文件 找不到的bug 只有一個用戶出現(xiàn)了 可能是什么原

安卓應用上線后 出現(xiàn)了圖片文件 找不到的bug 只有一個用戶出現(xiàn)了 可能是什么原因?qū)е碌哪?/h1>

Caused by: android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi-v4/icon_homepage_grey.png from drawable resource ID #0x7f0201a2

at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:880)
at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:708)
at android.content.res.Resources.loadDrawable(Resources.java:902)
at android.content.res.TypedArray.getDrawable(TypedArray.java:928)

回答
編輯回答
孤影

首先res/drawable-xxhdpi-v4/icon_homepage_grey.png 到底有沒有這個圖片。

其次如果沒有證明你設置圖片的寫法存在兼容問題。比如和這個問題差不多的:https://blog.csdn.net/qq_3111...

具體還是得看代碼如何寫的

2018年5月29日 01:40