Skip to content
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

Is it possible to move the library to the mavenCentral repository? #308

Open
AlejandroImbox opened this issue Jan 7, 2022 · 7 comments
Open

Comments

@AlejandroImbox
Copy link

AlejandroImbox commented Jan 7, 2022

Since jCenter has been left in a read-only repository, I would like to be able to continue using this great library.
And I wanted to know if it could be uploaded to the maven central repository.
thank you very much, best regards @danikula

@GregVes
Copy link

GregVes commented Jan 13, 2022

@danikula Same issue here. We are relying on react-native-video-cache library that tries and fails to pull com.danikula:videocache:2.7.1 from jcenter repo that is now down

onozuka pushed a commit to onozuka/AndroidVideoCache that referenced this issue Feb 15, 2022
@onozuka
Copy link

onozuka commented Feb 15, 2022

I have succeeded in creating aar by taking temporary measures locally for v2.7.0.
I hope someone can fix the remaining issues and make a pull request.

FYI:
Modify Commit:
8acbb01

     repositories {
-        jcenter()
+        google()
+        mavenCentral()
     }

interim measures:
Temporarily modified for older tools and local environment.
Exclude the sample build.

problem logs

gradle sync error log

Could not resolve all files for configuration ':app:developDebugCompileClasspath'.
> Could not find AndroidVideoCache.aar (com.github.danikula:AndroidVideoCache:v2.7.0).
  Searched in the following locations:
      https://jitpack.io/com/github/danikula/AndroidVideoCache/v2.7.0/AndroidVideoCache-v2.7.0.aar

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

https://jitpack.io/com/github/danikula/AndroidVideoCache/v2.7.0/AndroidVideoCache-v2.7.0.aar
When accessed with a browser. Build failed. See the log at jitpack.io

https://jitpack.io/com/github/danikula/AndroidVideoCache/v2.7.0/build.log
When accessed with a browser. Could not GET 'https://dl.bintray.com/alexeydanilov/maven/com/danikula/android-garden/2.1.4/android-garden-2.1.4.pom'. Received status code 502 from server: Bad Gateway

@zhigang1992
Copy link

@GregVes react-native-video-cache now vendor this aab directly.

@a-mar-se
Copy link

The app can't be built. When trying "npx react-native run-android" returns this error:
Could not find com.danikula:videocache:2.7.1.

@rpluniversity
Copy link

Same here

@nilesh-simform
Copy link

nilesh-simform commented Mar 15, 2024

Any updates on this issue please? facing similar issue @danikula

@wimramuha
Copy link

Also encountered same issue after trying react-native-video-cache @danikula

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants