PhotoView icon indicating copy to clipboard operation
PhotoView copied to clipboard

Could not resolve all artifacts - com.github.chrisbanes:PhotoView:2.3.0

Open ctellechea2001 opened this issue 3 years ago • 5 comments

Today we started with the following issues in our build! Do you have any issues with this repository?

Thanks!


**Task :app:dataBindingMergeDependencyArtifactsDevDebug FAILED**
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDevDebug'.
> Could not resolve all dependencies for configuration ':app:devDebugRuntimeClasspath'.
   > Could not determine artifacts for **com.github.chrisbanes:PhotoView:2.3.0**: Skipped due to earlier error
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org/
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

ctellechea2001 avatar Dec 22 '22 17:12 ctellechea2001

Our build too is failing

> Could not find com.github.chrisbanes:PhotoView:2.3.0.
[56](https://github.com/pafrepo/app/actions/runs/3760064408/jobs/6390365817#step:6:57)
     Searched in the following locations:
[57](https://github.com/pafrepo/app/actions/runs/3760064408/jobs/6390365817#step:6:58)
       - https://dl.google.com/dl/android/maven2/com/github/chrisbanes/PhotoView/2.3.0/PhotoView-2.3.0.pom
[58](https://github.com/pafrepo/app/actions/runs/3760064408/jobs/6390365817#step:6:59)
       - https://repo.maven.apache.org/maven2/com/github/chrisbanes/PhotoView/2.3.0/PhotoView-2.3.0.pom
[59](https://github.com/pafrepo/app/actions/runs/3760064408/jobs/6390365817#step:6:60)
       - https://artifactory.paytm.in/libs-release-local/com/github/chrisbanes/PhotoView/2.3.0/PhotoView-2.3.0.pom
[60](https://github.com/pafrepo/app/actions/runs/3760064408/jobs/6390365817#step:6:61)
     Required by:
[61](https://github.com/pafrepo/app/actions/runs/3760064408/jobs/6390365817#step:6:62)

prvaghasiya avatar Dec 22 '22 18:12 prvaghasiya

This is due to jitpack being down: https://github.com/jitpack/jitpack.io/issues/5337

jdgood avatar Dec 22 '22 22:12 jdgood

This library should be publish on MavenCentral if not yet

extmkv avatar Dec 22 '22 22:12 extmkv

This library should be publish on MavenCentral if not yet

@extmkv Agreed! I think this PR by @zsmb13 is doing exactly that? https://github.com/Baseflow/PhotoView/pull/779

kimrtaylor avatar Dec 23 '22 12:12 kimrtaylor

If you're looking for a zoom image component on Android, take a look at my ZoomImage (https://github.com/panpf/zoomimage) library. It can be used for View and Compose, supports scaling, panning, positioning, rotation, and super-large image subsampling. It also integrates image loaders such as sketch, glide, picasso, coil, etc.

如果你正在寻找 Android 上的变焦图像组件,可以看看我的 ZoomImage (https://github.com/panpf/zoomimage) 库。它可用于 View 和 Compose,支持缩放、平移、定位、旋转、超大图子采样,它还集成了 sketch、glide、picasso、coil 等图像加载器

panpf avatar Oct 08 '23 03:10 panpf