2015年12月14日 星期一

Android Studio – error Plugin with id ‘com.android.application’ not found - See more at: http://www.desenvolvimentoweb.blog.br/2015/07/android-studio-error-plugin-with-id-com-android-application-not-found/#sthash.VQIYzGZa.dpuf

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()
    }
}



Reference

http://stackoverflow.com/questions/24298896/android-studio-error-8-0-plugin-with-id-android-not-found