首页 > 其他分享 >Android Failed to resolve: com.github.PhilJay:MPAndroidChart:v3.1.0

Android Failed to resolve: com.github.PhilJay:MPAndroidChart:v3.1.0

时间:2023-09-23 17:35:49浏览次数:45  
标签:MPAndroidChart resolve v3.1 repositories PhilJay Failed Add io Android

2022.3.1版本
修改settings.gradle

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        maven { url "https://jitpack.io" } // Add this repository
        jcenter() // or other repositories
        google()
        mavenCentral()

    }
}

增加一句话

maven { url "https://jitpack.io" } // Add this repository
jcenter() // or other repositories

标签:MPAndroidChart,resolve,v3.1,repositories,PhilJay,Failed,Add,io,Android
From: https://www.cnblogs.com/zhaogaojian/p/17724742.html

相关文章