when i write it to grade,it show error
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" }
Most helpful comment
You might have forgot to write
in your root level
build.gradle