Error:(63, 20) Failed to resolve: com.github.chrisbanes:PhotoView:2.0.0

报错: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()
    }
}

你可能感兴趣的:(Android报错)