gradle – Error:(1, 0) Plugin with id 'android' not found-ThrowExceptions

Exception or error:

I have just installed Android Studio and after some quirks about the SDK Build Tools minimum having to be 19.1.0 instead of 19.0.3 I have not came about another error

Error:(1, 0) Plugin with id 'android' not found.

I haven’t found a solution in google and I am absolutely new so I “have no clue”… the error shows up when I just created a new blank activity (and application).

What does the error means and how to fix it? (if it’s a problem)

Thanks.

How to solve:

Put below code in build.gradle file of main Application and sync it.

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.0.0'
    }
}

allprojects {
    repositories {
        mavenCentral()
    }
}

###

It Works, I just change gradle version to
classpath ‘com.android.tools.build:gradle:1.0.0’

Leave a Reply

Your email address will not be published. Required fields are marked *