Gradle Errors In Android Studio
I imported an Android project from Eclipse to Andriod Studio, but when I compile, I get these errors. What do they mean? Gradle: : org.gradle.api.plugins.PluginInstantiationExcept
Solution 1:
I was having the same problem. Turned out it was because I had Gradle v1.4 installed. Once I upgraded to v1.6 (download and change path), these problems went away.
Solution 2:
I met same problem while starting using Android Studio, and tried to compile my app in command-line mode. The solution is simple:
- upgrade your Gradle to version 1.6 ( I am not sure if this is required)
set up
ANDROID_HOME
in your environment. For me it's like this:export ANDROID_HOME="/Applications/Android Studio.app/sdk/"
and then, it should build your project successfully by using gradle build
in your project root folder.
Post a Comment for "Gradle Errors In Android Studio"