報錯: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() } }