【问题标题】:Circleprogress Problem in Android Studio Arctic FoxAndroid Studio北极狐中的Circleprogress问题
【发布时间】:2021-08-11 16:53:40
【问题描述】:

我在 Java 中使用 Android Studio Arctic Fox (2020.3.1) 和 Android Gradle 插件 7.0。 在这个版本之前,我在 Circleprogress 中使用得很好。 现在在这个版本中是无法识别的。 我得到的错误是:

Could not resolve all files for configuration :app:debugRuntimeClasspath.
Could not find com.github.lzyzsd:circleprogress:1.2.0.

【问题讨论】:

    标签: java android


    【解决方案1】:

    只需更改 DependencySync Now

    implementation 'com.github.lzyzsd:circleprogress:1.2.1'
    

    版本来源:- https://jitpack.io/#lzyzsd/CircleProgress

    【讨论】:

    • 仍然无法正常工作。问题是,您无法在 gradle:7.0.0 新版本的 android Arctic Fox (2020.3.1) 中添加 allprojects { repositories { 。在新项目中尝试一下。
    • 我找到了解决方案。我不得不在 settings.gradle 中禁用存储库。 dependencyResolutionManagement { //repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    • 新版本也可用v1.2.1
    猜你喜欢
    • 2021-10-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-25
    • 2021-08-15
    相关资源
    最近更新 更多