Failed to resolve: com.github.chrisbanes:PhotoView:1.2.6 Show in File Show i

问题描述:AS出现错误:Error:(31, 13) Failed to resolve: com.github.chrisbanes:PhotoView:1.2.6   Show in File     Show in Project Structure dialog 

解决办法: 在Project的build.gradle文件下添加代码,重新编译工程即可。

allprojects {
    repositories {
        jcenter()
        maven{
            url "https://raw.github.com/bmob/bmob-android-sdk/master"
        }
        maven{url "https://jitpack.io"}
    }
}

猜你喜欢

转载自blog.csdn.net/wangchun__/article/details/79696559