AndroidVideoCache icon indicating copy to clipboard operation
AndroidVideoCache copied to clipboard

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

Open AlejandroImbox opened this issue 4 years ago • 8 comments

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

AlejandroImbox avatar Jan 07 '22 15:01 AlejandroImbox

@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

GregVes avatar Jan 13 '22 13:01 GregVes

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

onozuka avatar Feb 15 '22 04:02 onozuka

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

zhigang1992 avatar May 16 '22 14:05 zhigang1992

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.

a-mar-se avatar Nov 15 '22 10:11 a-mar-se

Same here

rpluniversity avatar Nov 17 '22 18:11 rpluniversity

any update about this issue?

Yasser-G avatar Jan 14 '24 17:01 Yasser-G