yausername / youtubedl-android

youtube-dl for android
GNU General Public License v3.0
994 stars 180 forks source link

Build failed #276

Closed 66BlackDiamond99 closed 3 months ago

66BlackDiamond99 commented 3 months ago

when i try to build my project all of a sudden i get an error message saying my build had failed, except i didn't change any of my code or build settings or dependencies here is the build output: ` Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform library--SNAPSHOT.aar (com.github.yausername.youtubedl-android:library:-SNAPSHOT:0.14.0-g1d2ae8b-35) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}. Could not find library--SNAPSHOT.aar (com.github.yausername.youtubedl-android:library:-SNAPSHOT:0.14.0-g1d2ae8b-35). Searched in the following locations: https://jitpack.io/com/github/yausername/youtubedl-android/library/-SNAPSHOT/library--0.14.0-g1d2ae8b-35.aar Failed to transform ffmpeg--SNAPSHOT.aar (com.github.yausername.youtubedl-android:ffmpeg:-SNAPSHOT:0.14.0-g1d2ae8b-35) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}. Could not find ffmpeg--SNAPSHOT.aar (com.github.yausername.youtubedl-android:ffmpeg:-SNAPSHOT:0.14.0-g1d2ae8b-35). Searched in the following locations: https://jitpack.io/com/github/yausername/youtubedl-android/ffmpeg/-SNAPSHOT/ffmpeg--0.14.0-g1d2ae8b-35.aar `

66BlackDiamond99 commented 3 months ago

well after playing around i managed to just fix the issue, for the past week i have been using "-SNAPSHOT" as my tag for the library implementation in the gradle file and today for some reason it didnt build so i looked for the latest tag, "0.15.0" and changed my gradle file to this and build it it worked. i dont know if the problem is at my end or not and if this solution the right solution or not but it fixed my problem any how