问题解决-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
}
posted @ 2017-12-07 11:01  叶秋1022  阅读(2180)  评论(0编辑  收藏  举报
快递查询