天天看点

编译时Error retrieving parent for item: No resource found that matches the given name的问题

第一次遇到这样的问题,蒙蔽一脸,这里记录

过程就不说了,直接来解决方法(个人解决的方法)

找到项目中Gradle Script

编译时Error retrieving parent for item: No resource found that matches the given name的问题

打开这个

解决前

改动后

必须要

这两个一致,然后再编译就正常了,小细节需要特别注意。