danikula / AndroidVideoCache

Cache support for any video player with help of single line
Apache License 2.0
5.42k stars 1.15k forks source link

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

Open AlejandroImbox opened 2 years ago

AlejandroImbox commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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: https://github.com/danikula/AndroidVideoCache/commit/8acbb01f6ed1bd3fdb665291454aa6d3c8168920

     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 commented 2 years ago

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

a-mar-se commented 1 year ago

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 commented 1 year ago

Same here

nilesh-simform commented 6 months ago

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

wimramuha commented 2 months ago

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