Android Studio: Error Code 1: Gradle: Execution failed for task ':app:processDebugResources'

前端 未结 5 2084
醉话见心
醉话见心 2021-01-01 21:08

I want to compile a project, I got Error:Gradle: Execution failed for task \':app:processDebugResources\'.

here is the exception:

5条回答
  •  南笙
    南笙 (楼主)
    2021-01-01 21:42

    • In case you administrate your own aar files:

    You have to ensure that your gradle and buildToolsVersion are identically in your project and the used aars.

    • In case you use external libs where you can't control the gradle/build version:

    Contact the author or check the sources by your own. Some libraries have unused launcher icons which will cause this conflict. Removing this icons will solve your problem. Identically named sources (e.g menu.xml) could also cause this issue in rare cases. An easy workaround would be to rename your ressource.

提交回复
热议问题