Spotify API: INVALID_APP_ID

后端 未结 3 1224
抹茶落季
抹茶落季 2021-01-02 04:03

I am currently working on an android app which is implementing the Spotify API. I have all of the code connecting my app to spotify using the tutorial and have been working

3条回答
  •  走了就别回头了
    2021-01-02 04:30

    You need to go to your Spotify developer settings and update the

    Android Packages

    Providing your full package name i.e. com.company.app and the SHA1 fingerprint of the respective build variant.

    You can get the fingerprint by running

    ./gradlew signingReport
    

    There you can find the results for e.g. debug

    Variant: debug
    Config: debug
    Store: /Users//.android/debug.keystore
    Alias: AndroidDebugKey
    MD5:  00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
    SHA1: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
    Valid until: Monday, August 29, 2046
    

    Saving the settings on your Spotify app page is enough to flush the system so that you can login from your device.

提交回复
热议问题