Android 打包错误:
Error:Failed to complete Gradle execution.

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

这个错误是说我们的Gradle版本是3.3的 这里不支持,要换成3.5或3.5以后的版本。

我们需要在gradle里的gradle-wrapper.jar里改掉我们的gradle版本,如下图Android Error:Failed to complete Gradle execution. Cause: The version of Gradle you are using (3.3)

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2021-04-30
  • 2021-07-28
  • 2021-12-18
  • 2021-11-09
  • 2021-09-15
  • 2021-12-27
猜你喜欢
  • 2021-05-26
  • 2022-12-23
  • 2021-09-08
  • 2021-10-21
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案