记录更新到Android studio3.5的坑

2019-12-14  本文已影响0人  十年_dea3

引入PhotoView依赖 https://github.com/chrisbanes/PhotoView

首先添加implementation'com.github.chrisbanes:PhotoView:2.3.0'

然后maven { url"https://jitpack.io" }

以为大功告成

然后报错Unable to resolve dependency for ':app@debug/compileClasspath'的错误

意思是不能引入PhotoView的远程仓库

将maven { url"https://jitpack.io" }修改成maven { url"https://www.jitpack.io" }

同时将

该文件的代理设置删掉

上一篇 下一篇

猜你喜欢

热点阅读