zoukankan      html  css  js  c++  java
  • Error:Could not find com.github.dcendents:android-maven-plugin:1.5.

    问题:

    Error:Could not find com.github.dcendents:android-maven-plugin:1.5.
    Searched in the following locations:
    file:/D:/android-studio/gradle/m2repository/com/github/dcendents/android-maven-plugin/1.5/android-maven-plugin-1.5.pom
    file:/D:/android-studio/gradle/m2repository/com/github/dcendents/android-maven-plugin/1.5/android-maven-plugin-1.5.jar
    https://repo1.maven.org/maven2/com/github/dcendents/android-maven-plugin/1.5/android-maven-plugin-1.5.pom
    https://repo1.maven.org/maven2/com/github/dcendents/android-maven-plugin/1.5/android-maven-plugin-1.5.jar
    Required by:
    project :

    解决方案:

    https://github.com/dcendents/android-maven-gradle-plugin

    查看com.github.dcendents:android-maven-gradle-plugin版本:

    https://bintray.com/dcendents/gradle-plugins/com.github.dcendents%3Aandroid-maven-gradle-plugin/

    buildscript {
    	repositories {
    		mavenCentral()
    	}
    
    	dependencies {
    		classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
    	}
    }
    
    apply plugin: 'com.android.library'
    apply plugin: 'com.github.dcendents.android-maven'

    Or use the new syntax since Gradle 2.1

    plugins {
      id "com.github.dcendents.android-maven" version "1.5"
    }
  • 相关阅读:
    贪心算法1000
    贪心算法1006
    1012
    贪心算法1016
    贪心算法1001
    贪心算法1004
    Java作业1
    指针数组与数组指针的区别
    Java 中对类进行排序的方法(转)
    java习题1
  • 原文地址:https://www.cnblogs.com/bluestorm/p/7402808.html
Copyright © 2011-2022 走看看