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

anscash's little helper: IllegalArgumentException #51

Closed
anscash opened this issue Nov 12, 2018 · 1 comment
Closed

anscash's little helper: IllegalArgumentException #51

anscash opened this issue Nov 12, 2018 · 1 comment

Comments

@anscash
Copy link

anscash commented Nov 12, 2018

Thanks for your interest in the Spotify App Remote SDK!
If you're submitting a bug, please use the following template.
If your issue is a feature request, please include your use-case so that we have all the necessary info.

Issue found on DATE.

SDK Version: Android SDK v0.5.0 AppRemote v1.1.0 Auth

OS Version: 8.0.0 / "Samsung Experience-Version 9.0" (Device is Samsung Galaxy A3)

Scope(s):

"app-remote-control", "playlist-read-private", "playlist-modify-private", "playlist-modify-public", "user-read-private", "streaming", "user-top-read", "user-modify-playback-state", "user-read-currently-playing", "user-read-playback-state"

Steps to reproduce:

  1. Connect to Spotify Remote SDK using the Workflow described on the website
  2. Play a Track by Id

Expected behaviour:

  1. The Playback starts

Actual behaviour:

  1. The Playback does not start

In Debug mode, i can find this stacktrace in my log:
2018-11-13 00:01:05.058 922-922/? E/Spotify: [main] Failed to load image with uri: "". java.lang.IllegalArgumentException: Expected URL scheme 'http' or 'https' but no colon was found at zda.a(SourceFile:1325) at zcz.f(SourceFile:916) at zdm.a(SourceFile:165) at gcl.a(SourceFile:121) at xgy.a(SourceFile:44) at xlp.a(SourceFile:206) at xlp.run(SourceFile:159) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:764) at xng.run(SourceFile:411)

This error often happens when i've just opened my app and push my playback-button. If i try it again, it usually works. So this is not that bad at all, but i also want to help you guys from spotify. I would love to use the android sdk in a no-betaVersion-way

Greetings ancash

P.S. Iam using a callback which detects when the Connect-Method finishes... If the callback is triggered, the playback starts. (Press Button -> Connect to SDK -> Callback -> Play Track) Maybe this is the painpoint. This is all information i can give you to help

@mdelolmo
Copy link
Contributor

Hi,
I believe this relates to an issue found on the Spotify client. I think this is already fixed, but please don't hesitate to re-open if you experience it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants