gpt4 book ai didi

java - 无法解决依赖关系conciseclock

转载 作者:行者123 更新时间:2023-12-03 05:53:41 25 4
gpt4 key购买 nike

实际上,它可以正常工作,但我不理解,但出现错误。我该如何解决?

     apply plugin: 'com.android.application'



android {
compileSdkVersion 25
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.example"
minSdkVersion 18
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})

compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.github.:conciseclock:0-SNAPSHOT'
testCompile 'junit:junit:4.12'
}


 buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'

}
}


allprojects {
repositories {
jcenter()
maven{ url 'https://dl.bintray.com/spark/maven' }
maven { url "https://jitpack.io" }

mavenCentral()

}
}

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

Error:A problem occurred configuring project ':app'. Could not resolve all dependencies for configuration ':app:_debugApkCopy'. Could not find com.:conciseclock:0-SNAPSHOT. Required by: project :app

Error(37,13) Failed to resolve: com.:conciseclock:0-SNAPSHOT

最佳答案

尝试compile 'com.tomduan.conciseclock:library:0.2.2'无论如何,您从何处获得此快照,因为它看起来像您正在使用自定义存储库管理器,而不是官方的git

关于java - 无法解决依赖关系conciseclock,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46253014/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com