youtubedl-android icon indicating copy to clipboard operation
youtubedl-android copied to clipboard

0.13.3 on jitpack.io removed

Open linsui opened this issue 2 years ago • 6 comments

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeReleaseNativeLibs'.
> Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
   > Failed to transform library-0.13.3.jar (com.github.yausername.youtubedl-android:library:0.13.3) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Could not find library-0.13.3.jar (com.github.yausername.youtubedl-android:library:0.13.3).
        Searched in the following locations:
            https://jitpack.io/com/github/yausername/youtubedl-android/library/0.13.3/library-0.13.3.jar
   > Failed to transform ffmpeg-0.13.3.jar (com.github.yausername.youtubedl-android:ffmpeg:0.13.3) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Could not find ffmpeg-0.13.3.jar (com.github.yausername.youtubedl-android:ffmpeg:0.13.3).
        Searched in the following locations:
            https://jitpack.io/com/github/yausername/youtubedl-android/ffmpeg/0.13.3/ffmpeg-0.13.3.jar

The aar files are not available.

linsui avatar Aug 27 '22 11:08 linsui

Use the latest commit, until the problem is resolved.

implementation 'com.github.yausername.youtubedl-android:library:42c7dfcee1'
implementation 'com.github.yausername.youtubedl-android:ffmpeg:42c7dfcee1'

xibr avatar Aug 27 '22 14:08 xibr

Jitpack is not finding the library, even changing the version to a commit.

BobbyESP avatar Nov 20 '22 09:11 BobbyESP

@BobbyESP I don't know what the problem is with jitpack.io but try use -SNAPSHOT to solve the problem for now.

implementation 'com.github.yausername.youtubedl-android:library:-SNAPSHOT'
implementation 'com.github.yausername.youtubedl-android:ffmpeg:-SNAPSHOT'
implementation 'com.github.yausername.youtubedl-android:aria2c:-SNAPSHOT'


xibr avatar Nov 20 '22 11:11 xibr

@BobbyESP I don't know what the problem is with jitpack.io but try use -SNAPSHOT to solve the problem for now.

implementation 'com.github.yausername.youtubedl-android:library:-SNAPSHOT'
implementation 'com.github.yausername.youtubedl-android:ffmpeg:-SNAPSHOT'
implementation 'com.github.yausername.youtubedl-android:aria2c:-SNAPSHOT'

@xibr Thank you! But i already fixed it. I forgot to close the issue. Android Studio changed the way that the repositories are declarated or something like that. I've just added the code below in my settings.gradle.kts and deleted the maven repository from my build.gradle.kts (project)

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven ("https://jitpack.io")
    }
}

BobbyESP avatar Nov 20 '22 11:11 BobbyESP

The problem of jitpack.io doesn't get fix tho. Any modification with gradle files could only make the IDE reading cache from already downloaded library AARs

JunkFood02 avatar Nov 20 '22 12:11 JunkFood02

@BobbyESP I don't know what the problem is with jitpack.io but try use -SNAPSHOT to solve the problem for now.

implementation 'com.github.yausername.youtubedl-android:library:-SNAPSHOT'
implementation 'com.github.yausername.youtubedl-android:ffmpeg:-SNAPSHOT'
implementation 'com.github.yausername.youtubedl-android:aria2c:-SNAPSHOT'

@yausername please update the README.md in the meantime. As of now adding the dependencies will always fail:

image

GhostInTheSteiner avatar Dec 02 '22 16:12 GhostInTheSteiner