Plugin with id 'android-apt' not found

apt插件找不到
Plugin with id 'android-apt' not found_第1张图片

在Project里面的build.gradle里面加上这句:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

你可能感兴趣的:(Android,Studio,问题汇总)