我无法构建我的项目,因为我收到此错误 image
我尝试了我能找到的所有解决方案,但我没有运气。我正在使用 AS 2.1.3。这是我的依赖项:
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
今天早上我能够毫无问题地工作,我唯一做的就是对 AsyncTask 进行一些更改。
最佳答案
我通过删除 C:\Users\MyUsername 中的 .gradle 文件夹解决了这个问题。
关于android - 错误 :Failed to complete Gradle execution. 原因:未知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39558683/