问题解决-Plugin with id 'com.github.dcendents.android-maven' not found


问题是:未找到插件

 

方法是:

在project的build.gradle中添加全局依赖

dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'//声明gradle插件,2.3.0为插件版本号
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
//1.自动化maven打包插件
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
//2.自动上传至Bintray平台插件
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'


// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}


免责声明!

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



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