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