Android Error:Failed to complete Gradle execution. Cause: The version of Gradle you are using (3.3)
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版本,如下图