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()
    }
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章