android: 报错Resources$NotFoundException: Unable to find resource ID #0x7f050224的处理

一,报错信息:

Caused by: android.content.res.Resources$NotFoundException: Drawable (missing name) with resource ID #0x7f050224
Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f050224

如图:

二,解决:

在这里根据id找到了相应的资源文件

也可以按两次shift,在搜索界面中找到R文件,如图:

 

posted @ 2025-05-10 09:02  刘宏缔的架构森林  阅读(158)  评论(0)    收藏  举报