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

后端 未结 7 1670
情书的邮戳
情书的邮戳 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条回答
  • 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:

      <path
          android:fillColor="@color/white"
          ...
      

      I replaced with

      <path
          android:fillColor="#fff"
          ...
      

      and the problem disappeared.

    0 讨论(0)
提交回复
热议问题