Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] api – Unable to add Spotify App Remote SDK library to Android Studio Chipmunk

Posted on November 11, 2022 By

Solution 1 :

TO fix this problem, I compiled the library into an AAR file. I copied the AAR file to the “libs” folder. Then added it as a module in the Gradle Build. Not sure why this works, but it does…

Problem :

EDIT: Added link to instructions
https://developer.spotify.com/documentation/android/quick-start/. I am at the section “Add the App Remote SDK”.

I am following the step-by-step instructions provided by Spotify to add the App Remote SDK to my Android Studio project.

Their instructions state:

Unzip the App Remote SDK zip file that you downloaded. Add the library to your project by importing it as a module. In the “Project” side bar in Android Studio (View –> Tool Windows –> Project), right click your project’s root folder and navigate to “New” –> “Module”. In the “New Module” window, choose the option “Import .JAR/AAR Package”. Click “Next”.

With Android Studio Chipmunk, this option is no longer available.

I have tried numerous ways of importing the folder “android-sdk-0.7.2.-appremote-v1.2.3-auth” as a library into my Android Project. No matter how I do it, the Gradle Sync succeeds, but my code is not able to resolve any of the com.spotify.android imports. For example:

import com.spotify.android.appremote.api.ConnectionAparams;

Why am I having so much trouble importing a library into AS Chipmunk? I never had problems when using previous versions.

Is anyone else having this issue or just me?

READ  [FIXED] android - Jetpack Compose: can't change TextField focus
Powered by Inline Related Posts
Android Tags:android, api, spotify

Post navigation

Previous Post: [FIXED] android – W/Firestore: (24.1.2) [CustomClassMapper]: No setter/field for about found on class
Next Post: [FIXED] android – FusedLocationProviderClient and LocationCallback() object queries

Related Posts

[FIXED] java – Android – Program ImageView Constraints in Custom Toast Class Android
[FIXED] Is there any component such EditText in Android Xamarin with C# for infinite text? Android
[FIXED] SDK manager issue in Android studio Android
[FIXED] android – Check signature of an apk Android
[FIXED] android – Kotlin + Retrofit + Gson Deserializing not working for nested json Android
[FIXED] android – Close all intents and close application Android

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • Which is stronger 19 gauge or 23 gauge?
  • Does BMW still use GM transmissions?
  • Is primary or secondary market research better?
  • What does it mean when ADT says low battery?
  • Can a baby sleep on a regular mattress?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme