版权声明:本文为博主原创文章,http://blog.csdn.net/m0_37039192 https://blog.csdn.net/m0_37039192/article/details/81087705
报错:Error:(63, 20) Failed to resolve: com.github.chrisbanes:PhotoView:2.0.0
Show in File
Show in Project Structure dialog
解决方案:是在项目的build.gradle添加如下:photoview的maven仓库,maven { url "https://jitpack.io" }(如下)
allprojects { repositories { google() maven { url "https://jitpack.io" } jcenter() } }