-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error: gradle unable to pull .pom /.jar file from mavenCenter #239
Comments
Yes , We have the same problem from yesterday, We want to move our build to stores today itself. So Please let us know any solutions |
I tried to configure Gradle to look for and use a local .aar file instead of downloading it from a repository and it worked for me. Place the PhotoView-1.2.4.aar file in android/app/libs (create new folder). Then, modify the build.gradle file (XXX-photoviewer.gradle) of the module: repositories { dependencies { Sync with Gradle and compile. It worked for me! Hope this helps! |
Hi, I also had that as an alternative, but I was unable to locate the .aar file. Would you be able to share how you got that file or how I can generate it by chance? Thanks! |
Here is the link: https://repo1.maven.org/maven2/com/github/chrisbanes/photoview/library/1.2.4/library-1.2.4.aar. Hope this helps @bbl-jcastaneda @tamsel12 |
Yes, After upgrading this we can able to build the application, but photo is not opening. photoviewer.show not working @acasellasnecsia |
@tamsel12 It's not quite like that, you need to make several calls for the photo to open. I finally gave up on using the plugin and started doing it manually. |
Thiis update works fine in capacitor. But in cordova , photo is not getting opened. |
I'm using [email protected] and with the following patch I was able to compile again and everything is working as before. |
Hi
You saved me , thanks |
It seems as if the .pom and .jar files have been removed from all popular repositories. anybody knows from where I can pull it now? The error I get is below.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/commit451/PhotoView/1.2.4/PhotoView-1.2.4.pom
- https://repo.maven.apache.org/maven2/com/commit451/PhotoView/1.2.4/PhotoView-1.2.4.pom
- file:/builds/BelizeBankLimited/mobilebanking/android/capacitor-cordova-android-plugins/src/main/libs/PhotoView-1.2.4.jar
- file:/builds/BelizeBankLimited/mobilebanking/android/capacitor-cordova-android-plugins/src/main/libs/PhotoView.jar
- file:/builds/BelizeBankLimited/mobilebanking/android/app/libs/PhotoView-1.2.4.jar
- file:/builds/BelizeBankLimited/mobilebanking/android/app/libs/PhotoView.jar
- https://jcenter.bintray.com/com/commit451/PhotoView/1.2.4/PhotoView-1.2.4.pom
- file:/builds/BelizeBankLimited/mobilebanking/android/app/src/main/aar/PhotoView-1.2.4.jar
- file:/builds/BelizeBankLimited/mobilebanking/android/app/src/main/aar/PhotoView.jar
The text was updated successfully, but these errors were encountered: