错误:未找到Gradle DSL方法:“ freeImplementation()”

时间:2019-08-19 04:26:10

标签: android android-studio android-gradle-plugin build.gradle

在将旧的Android项目更新并更新到最新版本的android studio时,我遇到了此错误。

ERROR: Gradle DSL method not found: 'freeImplementation()'
Possible causes:
The project 'Naqda_mobile' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0).
Upgrade plugin to version 3.4.2 and sync project

The project 'Naqda_mobile' may be using a version of Gradle that does not contain the method.
Gradle settings

The build file may be missing a Gradle plugin.
Apply Gradle plugin

0 个答案:

没有答案