Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or pat

Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x1010059 a=-1}

发生这个错误,最近本的解决办法我就不说了哈。


比较新颖的原因:

由于手贱将图片资源拷贝到了drawable-land-xhdpi目录下,本来应该拷贝到drawable-xhdpi目录下。

就这样子发生了错误。

你可能感兴趣的:(Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or pat)