Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml

后端 未结 18 893
野性不改
野性不改 2020-11-27 15:49

After solving a JDK zero value error, now I\'m facing this one. I did a little research, but it seems I can\'t get to the point. Here is the log error:

FATA         


        
18条回答
  •  没有蜡笔的小新
    2020-11-27 16:06

    If any of the other solutions does not work, you can add this line in your Activity

    static {
        AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
    }
    

    and of course, update your gradle and appcompat to the latest versions. This worked in my case.

提交回复
热议问题