Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.abc.xxx/com.example.xxx.ui.activity.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/selecter_tab_a.xml from drawable resource ID -sharp0x7f070091
Environment introduction: the company win7 and the home win10 two computers Synchronize development, the code uses git Synchronize to Mayun. Ide uses as3.2, test phones-a Huawei 4.4system and a Huawei 7.0system.
bug appears: both phones are running normally for the first few weeks. Suddenly one day, the home computer compiled apk in Huawei 4.4 reported the above error code, 7.0 does not have. I thought it was the mobile phone problem, because 4.4 mobile phone just went wrong these days, so I didn"t care.
bug appears again: yesterday I had a version upgrade, which I compiled on my company computer, and the background monitoring upgrade is normal, without any crash. But when I got home, I found that there was a small problem. There was a paragraph in app that needed to be changed, and it didn"t matter. So I compiled apk with my home computer to replace the upgrade package, and in just a few minutes, I monitored a lot of crash, in the background and it was the same bug as my 4.4phone. I quickly changed the upgrade package back.
try debug:. I have clear the whole project, cleared the cache, and still have bug. Try to find the R.java file and find nothing unusual. Now all of a sudden, most of the bug errors can basically be solved, but this bug can not find a breakthrough, do not know how to solve.
Gods, who can provide good ideas? thank you!