Photoview: Why Can't use it

Created on 8 May 2017  路  5Comments  路  Source: Baseflow/PhotoView

when i write it to grade,it show error

Most helpful comment

You might have forgot to write

maven { url "https://jitpack.io" }

in your root level build.gradle

All 5 comments

I'm having the same problem. It says
Failed to resolve com.github.chrisbanes:PhotoView:latest.release.here

You need to replace latest.release.here with the latest release: 2.0.0 right now

actually is:
compile 'com.github.chrisbanes:PhotoView:2.0.0'

You might have forgot to write

maven { url "https://jitpack.io" }

in your root level build.gradle

use
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
and add these two in build.gradle of your project
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }

Was this page helpful?
0 / 5 - 0 ratings