spotify / android-sdk

Spotify SDK for Android
https://developer.spotify.com/documentation/android/
Apache License 2.0
474 stars 120 forks source link

Error 'com.spotify.android.appremote.api.error.CouldNotFindSpotifyApp' on Firestick TV #357

Closed goodluck3301 closed 5 months ago

goodluck3301 commented 9 months ago

I encountered an issue while trying to use the Spotify Remote SDK on a Firestick TV running Android 9. Despite installing the official Spotify application for TV, I am consistently receiving the error com.spotify.android.appremote.api.error.CouldNotFindSpotifyApp.

I've tested the same code on mobile devices, and it works as expected. However, the issue arises specifically on Firestick TV and Google TV platforms.

Issue found on 02.07.2024.

SDK Version: 0.8.0

OS Version: Android 9.0

Steps to reproduce:

  1. Install the Spotify app on Firestick TV running Android 9.
  2. Implement the Spotify Remote SDK in an Android application targeting Firestick TV.
  3. Attempt to connect to the Spotify app using the provided code snippet.

Expected behaviour: The Spotify Remote SDK should successfully connect to the installed Spotify app on Firestick TV, allowing control and playback of Spotify content.

Actual behaviour: Encountering the error com.spotify.android.appremote.api.error.CouldNotFindSpotifyApp prevents successful connection and functionality of the Spotify Remote SDK on Firestick TV devices.

image