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