android-studio - 无法解决: uz.shift:colorpicker:0.5

标签 android-studio compiler-errors color-picker

在将Android Studio更新为4.0版本之后,颜色选择器依赖项不再起作用:“implementation 'uz.shift:colorpicker:0.5@aar'”。我也尝试另一个依赖项,但同样的问题。
build.gradle

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'
   }
错误
Failed to resolve: uz.shift:colorpicker:0.5
   Show in Project Structure dialog
   Affected Modules: app

最佳答案

截至目前,降级gradle的版本,没有适当的解决方案。
在(Gradle版本-5.6.4)中可以正常工作
我已经尝试了一切,但仍会消失。下载最新版本时出现问题。我只是切换回了gradle的先前版本,现在一切正常。

关于android-studio - 无法解决: uz.shift:colorpicker:0.5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63799086/

相关文章:

java - Android - Google Analytics v4 命中生成但未发送

java - Android Studio 错误 "Unsupported class file major version 61"

java - 将一些声音数据添加到现有的 mp3 文件 Android,lame encoder

java - 您如何在Java中定义构造函数?

android - java.lang.ClassCastException : android. graphics.drawable.BitmapDrawable 无法转换为 android.graphics.drawable.LayerDrawable

c++ - 未解析的外部符号 b3Clock

C++ 和 Project Euler #3 编译错误

c# - 统一二维 : Get pixel of color of Raw Image

jquery - "Don' t 重复自己”的 jQuery 菜单方法

c# - ASP.NET AJAX ColorPickerExtender 客户端工作正常,代码隐藏颜色为空