I had this error when I build and sync my old Android project on updated to the latest version of 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
Related
strong textI getting the below error, even though I removed "apt" from the gradle files.
android-apt plugin is incompatible with the Android Gradle plugin.
Please use 'annotationProcessor' configuration instead.
Currently using gradle 3.1.0
This is the exact error I'm getting while making a build in release Variant.
Error:(57, 0) Gradle DSL method not found: 'compile()'
Possible causes:The project 'spot' 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).
Fix plugin version and sync projectThe project 'spot' may be using a version of Gradle that does not contain the method.
Open Gradle wrapper fileThe build file may be missing a Gradle plugin.
Apply Gradle plugin
I am following this tutorial to build and android app for ROS
After I import this in Android studio having following problem, I am using Android studio in windows 7.
Error:(66, 0) Gradle DSL method not found: 'android()'
Possible causes:The project 'android_apps' may be using a version of Gradle that does not contain the method.
Open Gradle wrapper fileThe build file may be missing a Gradle plugin.
Apply Gradle plugin
Here is the problem that I get when trying to preform a Gradle sync, I am also running the latest android studio and have included the minifyEnabled
Error:(33, 0) Gradle DSL method not found: 'runProguard()'
Possible causes:<ul><li>The project 'MLGSoundboard' may be using a version of Gradle that does not contain the method.
Gradle settings</li><li>The build file may be missing a Gradle plugin.
Apply Gradle plugin</li>
It's just an issue with the project's gradle configuration. Just make a new project, and drag over everything except for the gradle files from the old project to the new one.
I am using android studio 0.4.2 and I am facing the problem..
Here is the error.
Failed to refresh Gradle project 'epilepticapp'
You are using Gradle version 1.10, which is not supported. Please use version 1.9.
Please point to a supported Gradle version in the project's Gradle settings or in the
project's Gradle wrapper (if applicable.)