1

I am getting “Plugin with id 'com.android.application' not found”. I have updated the gradle distribution version in gradle wrapper properties but to no avail. Do I need to write the build gradle dependencies somewhere?

1 Answer 1

3

You have to add in your top level file:

buildscript {
    repositories {
        jcenter()
    } 
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.3'
    }
}
Sign up to request clarification or add additional context in comments.

2 Comments

what and where is this "top level file"?
@noypee the top-level file is the build.gradle file that you can find in the root of the project.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.