Android studio 3.0 Canary 6 A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction

后端 未结 7 1784
情书的邮戳
情书的邮戳 2021-02-13 04:56

All was fine until i updated the android studio to Canary 6, When i rebuild or clean or whatever with project it\'s throw :

A failure occurred while exec

7条回答
  •  不要未来只要你来
    2021-02-13 05:48

    I had the same issue. There were two ways to fix my case:

    1. Adding vectorDrawables.useSupportLibrary = true
    2. In my drawable vector xml files there were links to @color:

      I replaced with

      and the problem disappeared.

提交回复
热议问题