小米适配- android.content.res.Resources$NotFoundException: Resource ID #0x0 at android


这样找资源很容易出问题的。。特别是SDK相关的。 

你改成这样找资源  
c.getResources().getIdentifier(name, “drawable”, c.getPackageName());

猜你喜欢

转载自blog.csdn.net/t_yoo_csdn/article/details/80327968