youtubedl-android
youtubedl-android copied to clipboard
0.13.3 on jitpack.io removed
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.
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'
Jitpack is not finding the library, even changing the version to a commit.
@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'
@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")
}
}
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
@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: