首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >perfernce Sacreen颜色选择器库无法在android studioH中实现

perfernce Sacreen颜色选择器库无法在android studioH中实现
EN

Stack Overflow用户
提问于 2019-06-25 19:57:53
回答 1查看 94关注 0票数 0

大家好,朋友们,我是初学者,这里是https://github.com/kizitonwose/colorpreference使用这个库的implementation'com.github.kizitonwose.colorpreference:core:‘库链接

在我的perfernceSacreen项目中,问题是当我试图在我的项目中实现这个库时,它给了我这个异常:

代码语言:javascript
复制
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.kizitonwose.colorpreference:core:<latest-version>.
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.kizitonwose.colorpreference:core:<latest-version>.
Show Details
Affected Modules: app


ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.kizitonwose.colorpreference:core:<latest-version>.
Show Details
Affected Modules: app

我的依赖

代码语言:javascript
复制
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'petrov.kristiyan:colorpicker-library:1.1.5'

    implementation 'com.github.kizitonwose.colorpreference:core:<latest-version>'
    implementation   'com.yokkomi:seekbar-preference:1.0'
    implementation 'com.github.ganfra:material-spinner:1.1.0'
    implementation 'com.wdullaer:materialdatetimepicker:2.4.0'
    implementation 'com.github.ganfra:material-spinner:1.1.0'
    implementation 'uk.co.chrisjenx:calligraphy:2.1.0'
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.infideap.drawerbehavior:drawer-behavior:0.1.5'
    implementation 'com.github.GrenderG:Toasty:1.4.2'
    implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.android.support:support-v4:28.0.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    implementation 'com.google.android.gms:play-services-ads:17.2.1'
}
EN

回答 1

Stack Overflow用户

发布于 2020-03-28 18:15:35

我在使用library.And的时候也遇到了同样的问题,我意识到这是因为mismatch.Try的一个合适的版本,我建议你获得最新的版本!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56753535

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档