Error:Failed to complete Gradle execution.

来源:互联网 发布:算法导论中文 pdf 编辑:程序博客网 时间:2024/06/05 17:30

错误:

Error:Failed to complete Gradle execution.Cause:The version of Gradle you are using (2.10) does not support the forTasks() method on BuildActionExecuter. Support for this is available in Gradle 3.5 and all later versions.

根据字面意思gradle版本太旧了,我用的Android Studio是3.0预览版的,而gradle是2.10版本的,把gradle版本改成3.5以上的就可以了。

阅读全文
0 0
原创粉丝点击