sarriaroman / photoviewer

PhotoViewer Cordova Plugin
MIT License
156 stars 212 forks source link

Build error for Android 13: Could not find com.commit451:PhotoView:1.2.4. #241

Open raydaryakenar opened 2 weeks ago

raydaryakenar commented 2 weeks ago

Hi. I am trying build Apache Cordova app for Android. But this plugin (v 1.3.0) shows this error and I am not able to build my app

Execution failed for task ':app:checkDebugAarMetadata'.
[08:29:16] > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
[08:29:16]    > Could not find com.commit451:PhotoView:1.2.4.
[08:29:16]      Searched in the following locations:
[08:29:16]        - https://dl.google.com/dl/android/maven2/com/commit451/PhotoView/1.2.4/PhotoView-1.2.4.pom
[08:29:16]        - https://repo.maven.apache.org/maven2/com/commit451/PhotoView/1.2.4/PhotoView-1.2.4.pom
[08:29:16]        - https://jcenter.bintray.com/com/commit451/PhotoView/1.2.4/PhotoView-1.2.4.pom
[08:29:16]        - https://maven.google.com/com/commit451/PhotoView/1.2.4/PhotoView-1.2.4.pom
YaroslavG commented 2 weeks ago

Today I have the same error with my android build

Screenshot 2024-08-30 at 14 17 58
YaroslavG commented 2 weeks ago

@raydaryakenar Did you check this ? https://github.com/sarriaroman/photoviewer/issues/239#issuecomment-2312840712

I prepared fork plugin, you can try this: "com-sarriaroman-photoviewer": "git+https://github.com/YaroslavG/photoviewer.git",