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


构建报错:

Error:(1, 0) Plugin with id 'com.android.application' not found.
<a href="openFile">Open File</a>

 

x4eygc2n.gq0

ctrl+alt+s 找到build tool …修改gradle为2.8版本

gkqrz4dd.pxp

在外层的build.gradle文件中增加下面的配置

什么是外层的 参见上一篇

buildscript {
    repositories {
        mavenCentral() // or jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.1'
    }
}

完了之后就是这样:

nert5bke.14o

end


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM