Reoger 2017-03-19 12:39 采纳率: 20%
浏览 874

android studio 上传library到jcenter出现的问题

各路大神,有没有知道在配置上传到jcenter库的时候出现:
问题描述

这种错误是应该怎么办把。

网上搜了很久很久,一直找不到解释。。。最具有参考价值的可能就是这个了。
http://stackoverflow.com/questions/25172006/android-studio-build-fails-with-task-not-found-in-root-project-myproject
我的项目配置文件如下:

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.0'
//        classpath 'com.novoda:bintray-release:0.3.4'
//        // NOTE: Do not place your application dependencies here; they belong
//        // in the individual module build.gradle files
        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
    }
}

allprojects {
    repositories {
        jcenter()
    }
}



task clean(type: Delete) {
    delete rootProject.buildDir
}

对了 这是可能有作用的日志文件。

  • 写回答

0条回答 默认 最新

      报告相同问题?

      悬赏问题

      • ¥15 C语言用正向迭代,反向迭代解决问题
      • ¥15 想要卸载软件(maltab)但是在控制面板的程序和功能中没有要卸载的软件怎么办?
      • ¥15 关于sp验证的一些东西,求告知如何解决,
      • ¥20 关于#javascript#的问题:但是我写的只能接码数字和字符,帮我写一个解码JS问题
      • ¥15 prophet运行报错,如何解决?
      • ¥15 用GPU跑pytorch搭建的LSTM的时候出现了奇怪的报错
      • ¥20 前端数据是从session等作用域拿到的,如何取值继续传递后端呢
      • ¥15 eclipse无法正常运行
      • ¥15 定义了函数,但是无法根据函数定义触发器
      • ¥20 5变量卡诺图化简得出与非门电路图