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

這樣找資源很容易出問題的。。特別是SDK相關的。 app 你改爲這樣找資源   c.getResources().getIdentifier(name, 「drawable」, c.getPackageName());
相關文章
相關標籤/搜索