AAPT error: resource drawable/… not found

前端 未结 14 1708
粉色の甜心
粉色の甜心 2020-12-10 23:44

After recently upgrading my android studio, I am not able to build my project anymore.

Every time I execute a build, I am struck with the following error:

         


        
14条回答
  •  没有蜡笔的小新
    2020-12-11 00:39

    In my case, it was a drawable resource file that required a higher API version as it was my minSdkVersion set in build.gradle. The main problem was that the file did not show any error until you opened it, so it was hard to find it at all. I have spent at least 4 hours trying other things, since as an error when building the project it showed other drawable resource files that did not have any problems at all. After removing the drawable that required the higher API the app built normally.

提交回复
热议问题