问题是:未找到插件

问题解决-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
}

相关文章:

  • 2021-11-01
  • 2022-12-23
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
猜你喜欢
  • 2021-09-24
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2021-03-31
  • 2021-04-16
  • 2021-07-22
相关资源
相似解决方案