Build file 'F:\aduinoproject\CurrentLocationinMap\app\build.gradle' line: 1 A problem occurred evaluating root project 'app'. > Plugin with id 'com.android.application' not found. code example

Example: Plugin with id 'com.android.application' not found.

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.xx.y'
    }
}

allprojects {
    repositories {
        mavenCentral()
    }
}

Tags:

Java Example