引入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" }
同時將

該文件的代理設置刪掉