Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve ffmpeg and library on Build #331

Open
3 tasks done
AdyStudios opened this issue Jan 12, 2025 · 2 comments
Open
3 tasks done

Failed to resolve ffmpeg and library on Build #331

AdyStudios opened this issue Jan 12, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@AdyStudios
Copy link

AdyStudios commented Jan 12, 2025

Checklist

  • I've verified that I'm running the latest stable version of Spowlo or any later preview versions.
  • I've checked that the YouTube Music is available in my country.
  • I understand that the issue will be (ignored/closed) if I intentionally remove or skip any mandatory field.

Describe the bug

When syncing the project in android studio I get the following warnings:

Failed to resolve: com.github.BobbyESP.spotdl_android:library:0.3.0-alpha.03b1b47
Failed to resolve: com.github.BobbyESP.spotdl_android:ffmpeg:0.3.0-alpha.03b1b47

When building, it fails with the following:

Could not GET 'https://jitpack.io/com/github/BobbyESP/spotdl_android/library/0.3.0-alpha.03b1b47/library-0.3.0-alpha.03b1b47.pom'
Could not GET 'https://jitpack.io/com/github/BobbyESP/spotdl_android/ffmpeg/0.3.0-alpha.03b1b47/ffmpeg-0.3.0-alpha.03b1b47.pom'. 

This would suggest, that this source is private, and inaccesable, which is comfirmed by following the link.

Caused by: org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: Could not GET 'https://jitpack.io/com/github/BobbyESP/spotdl_android/ffmpeg/0.3.0-alpha.03b1b47/ffmpeg-0.3.0-alpha.03b1b47.pom'. Received status code 401 from server: Unauthorized

I'm not sure if this is my fault, but does not sound like it. I'm quite new to Kotlin and Android Studio. Thanks.

To Reproduce

  • Download the source code
  • Open project in Android Studio
  • Wait for gradle
  • Build

Error reports

If you want the whole thing here's a paste bin.

Screenshots & Screen Records

No response

Device info

Latest version of Android Studio, running on Windows 10.

Additional context

No response

@AdyStudios AdyStudios added the bug Something isn't working label Jan 12, 2025
@BobbyESP
Copy link
Owner

I'm having some issues with Jitpack so that I have done a local maven repo. When I have more time I'll explain this, but the short answer is that you have to build the library locally (spotdl-android), publish it to Maven Local (".m2" directory on Windows user root) and move it to "app/libs/maven-repo"

@AdyStudios
Copy link
Author

Right. I managed to build spotdl-android, and the Spowlo project FINALLY compiled, but it's not working. When starting a download, I get the Error while loading data message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants