android - 已更新为Canary 3.0,并且运行时Gradle执行失败

标签 android android-studio gradle

我已经将Canary更新为3.0,现在当我尝试启动应用程序时出现以下消息:

Error:Failed to complete Gradle execution.

Cause: org.gradle.tooling.BuildActionExecuter.forTasks([Ljava/lang/String;)Lorg/gradle/tooling/BuildActionExecuter;

我所有的项目都遇到这个问题。
曾尝试清理和重建项目,但一无​​所获。会是什么呢?

解决了

卸载并重新安装Canary解决了我的问题!

最佳答案

dependencies { }版本中的gradle更改为:

classpath 'com.android.tools.build:gradle:3.0.0-alpha1'

对我来说,就是这样。

关于android - 已更新为Canary 3.0,并且运行时Gradle执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44045182/

相关文章:

android - 将 SVN 迁移到 Android Studio

android - 无法在现有的Android Studio项目上连接到Firebase

android - 获取 Android 键盘颜色以添加具有相同颜色的 View

android - 是否可以通过 Kotlin Android Extension 以编程方式包含特定布局?

android - 从 Assets/GoogleService-Info.plist 统一生成 Firebase Android 资源文件 google-services.xml 失败

Android Studio Gradle 同步失败

android - _apply插件 'com.google.gms.google-services' _做什么?

android - RubyMotion - 联合 iOS/Android 开发

当 Gradle 具有更改 APK 名称的自定义逻辑时,Android Studio 会将无菌 APK 上传到设备

git - Android Studio - 无法使用新系统和旧备份文件将我的代码推送到 GitHub Enterprise...怎么办