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

后端 未结 7 1783
情书的邮戳
情书的邮戳 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:26

    The issue is with build gradle 3.1.4. Downgrade to 3.1.3 and you should be good to go

    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.3'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
    

提交回复
热议问题