0

Really struggling to figure out exactly what is going on here. Just trying to get the spoitfy api to work in android studio

https://i.stack.imgur.com/I8Ynm.jpg

Any insight is greatly appreciated.

Thanks

1 Answers1

0

The right dependencies are:

compile 'com.spotify.android:auth:1.0.0-alpha'
compile 'com.spotify.sdk:spotify-player-24-noconnect-2.20b@aar'

Check the documentation

Juan Cruz Soler
  • 8,172
  • 5
  • 41
  • 44
  • Thanks, I had done it exactly as the documenation stated in the past, but still get that second Error : Failed to resolve: com.spotify.sdk:spotify-player-24-noconnect-2.20b: – Samuel Stafford Jan 17 '18 at 00:08
  • As the documentation says you have to copy the spotify-player-*.aar file to your app folder – Juan Cruz Soler Jan 17 '18 at 12:42
  • The documentation says to put in your App-> Libs folder. If you take a look at the screen shot in my OP, you can see that it is in fact in that folder. Still a bit confused as to why this isn't working. Thanks for the reply though – Samuel Stafford Jan 18 '18 at 02:03