Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

sharedUserId to connect spotify fail UserNotAuthorizedException

sharedUserId to connect spotify fail UserNotAuthorizedException

形成android sdk 测试一些页面名称相同的sha1,一个没有sharedUserId的连接spotify ok。其他有 sharedUserId connect spoftify 失败 

 

 

com.spotify.android.appremote.api.error.UserNotAuthorizedException: {"message":"使用 Spotify 需要明确的用户授权。用户必须完成授权流程才能允许应用代表他们使用 Spotify"}
在 com.spotify.android.appremote.api.LocalConnector.asAppRemoteException (LocalConnector.java:143)

 

why add android:sharedUserId=android.uid.system in AndroidManifest.xml to connect spotify sdk fail from UserNotAuthorizedException,no add android:sharedUserId in AndroidManifest.xml to connect spotify sdk ok ,Other information remains unchanged

 

Reply
1 Reply

why 

add android:sharedUserId="android.uid.system" in AndroidManifest.xml to connect spotify sdk fail ,no add android:sharedUserId  in AndroidManifest.xml to connect spotify sdk ok ,Other information remains unchanged 

 

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 5 years ago  in Social & Random