各路大神,有没有知道在配置上传到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
}
对了 这是可能有作用的日志文件。