[英]how to fix Unable to resolve dependency for 'de.hdodenhof:circleimageview:2.2.0.'
Why doesn't this dependency为什么没有这个依赖
implementation 'de.hdodenhof:circleimageview:2.2.0'
sync with my project ?与我的项目同步?
i am not sure about the exact issue but just read the library document again. 我不确定确切的问题,只是再次阅读图书馆文件。 but you can add these lines in maven
但您可以在Maven中添加这些行
{ url "https://jitpack.io" }
all code will be like 所有代码都会像
repositories {
maven { url "https://jitpack.io" }
}
repositories in app level gradle folder 应用程序级别gradle文件夹中的存储库
Add mavenCentral
, jcenter
and jitpack
in repositories
in build.gradle
file 在
build.gradle
文件的repositories
中添加mavenCentral
, jcenter
和jitpack
like this: 像这样:
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.