1

Whenever I try to login to Spotify through my Android app on my emulator/phone using the Android API, I get the "INVALID APP ID" error.

I've tried...

  1. getting the SHA1 from terminal

    keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

  2. getting SHA1 from Android Studio following the steps provided in the answer here (which happen to be the same SHA1 fingerprint anyway.

  3. recreating the app on my Spotify Dashboard and re-inserting the Client ID, Secret ID, callback, etc.

  4. switching from GenyMotion emulator to physical android phone

  5. going into the Android Studio gradle and switching "signingConfigs.release" to "signingConfigs.debug" because I heard SHA1 changes on release (not sure if it's applicable here though)

... but none of these solutions worked.

It used to work before, but I'm not sure what's changed since.

Josh Lee
  • 83
  • 6

1 Answers1

0

Are these two fields filled in?

If I'm not mistaken 'INVALID APP ID' or 'INVALID URL' means you either have different APP ID / URL in the developer settings or none at all.

Devloper console

tomatoj
  • 32
  • 1
  • I solved it by changing my `applicationId` in my Android gradle to the correct one, but this is also an acceptable answer so i'll give it to you good sir – Josh Lee Jan 13 '21 at 15:54