首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >未能解决:uz.Shift:色选择器:0.5

未能解决:uz.Shift:色选择器:0.5
EN

Stack Overflow用户
提问于 2020-09-08 17:43:56
回答 1查看 1K关注 0票数 0

在我将Android更新到4.0版本后,颜色选择器依赖项无法工作:"implementation 'uz.shift:colorpicker:0.5@aar'“。我还尝试了另一个依赖项,但问题相同。

build.gradle

代码语言:javascript
复制
repositories {
    maven { url "https://dl.bintray.com/dasar/maven" }
    maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
    maven { url "https://jitpack.io" }
    maven { url  "http://dl.bintray.com/dasar/maven" }

    mavenCentral()
    }

 dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')

    //rate alert
    implementation 'com.github.hotchemi:android-rate:1.0.1'
    implementation "androidx.exifinterface:exifinterface:1.0.0"
    implementation "androidx.appcompat:appcompat:1.0.0"
    implementation "androidx.cardview:cardview:1.0.0"
    implementation "androidx.recyclerview:recyclerview:1.0.0"
    implementation "com.google.android.material:material:1.0.0"
    implementation "androidx.palette:palette:1.0.0"
    implementation "androidx.browser:browser:1.0.0"
    implementation "androidx.legacy:legacy-support-v4:1.0.0"


    implementation 'uz.shift:colorpicker:0.5@aar'


    implementation 'com.github.jetradarmobile:desertplaceholder:1.1.1'
    implementation 'de.hdodenhof:circleimageview:2.2.0'
    implementation 'com.github.yalantis:ucrop:2.2.2'
    implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'
    implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
    implementation 'com.github.HoraApps:Liz:-SNAPSHOT'
    implementation 'com.github.lzyzsd:circleprogress:1.2.1'

    // TODO check them out
    implementation 'com.turingtechnologies.materialscrollbar:lib:10.0.3'
    implementation 'de.psdev.licensesdialog:licensesdialog:1.8.3'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
   }

误差

代码语言:javascript
复制
Failed to resolve: uz.shift:colorpicker:0.5
   Show in Project Structure dialog
   Affected Modules: app
EN

回答 1

Stack Overflow用户

发布于 2020-09-10 05:02:44

到目前为止,降级了gradle的版本,没有合适的解决方案。它将在( Gradle版本- 5.6.4)中正常工作。

我已经试过所有的东西了,但还是不会消失的。当我下载最新版本时,问题就来了。我只是简单地切换到以前版本的gradle,它现在运行良好。

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

https://stackoverflow.com/questions/63799086

复制
相关文章

相似问题

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