java.lang.NoSuchMethodError: no non-static method "Lcom/spotify/sdk/android/player/Config;.shouldUseCache()Z" at getPlayer (Spotify.java:110) at getPlayer (Spotify.java:76) native: #07 pc 0001556c /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3jni14JavaClassUtils9findClassEP7_JNIEnvPKcb+492) native: #08 pc 00015a90 /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3jni18JavaExceptionUtils20throwExceptionOfTypeEP7_JNIEnvPKcS5_St9__va_list+32) native: #09 pc 0001607c /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3jni18JavaExceptionUtils20throwExceptionOfTypeEP7_JNIEnvPKcS5_z+32) native: #10 pc 000120ec /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3jni9JavaClass11cacheMethodEP7_JNIEnvPKcS5_z+540) native: #11 pc 0000896c /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3sdk6Config10initializeEP7_JNIEnv+440) native: #12 pc 00009488 /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3sdk6ConfigC2EP7_JNIEnv+128) native: #13 pc 00009f5c /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (JNI_OnLoad+48)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by cjwilliams24680
, 1 year ago
no non-static method "Lcom/spotify/sdk/android/player/Config;.shouldUseCache()Z" at getPlayer (Spotify.java:110) at getPlayer (Spotify.java:76) native: #07 pc 0001556c /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so
java.lang.NoSuchMethodError: no non-static method "Lcom/spotify/sdk/android/player/Config;.shouldUseCache()Z" at getPlayer (Spotify.java:110) at getPlayer (Spotify.java:76) native: #07 pc 0001556c /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3jni14JavaClassUtils9findClassEP7_JNIEnvPKcb+492) native: #08 pc 00015a90 /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3jni18JavaExceptionUtils20throwExceptionOfTypeEP7_JNIEnvPKcS5_St9__va_list+32) native: #09 pc 0001607c /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3jni18JavaExceptionUtils20throwExceptionOfTypeEP7_JNIEnvPKcS5_z+32) native: #10 pc 000120ec /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3jni9JavaClass11cacheMethodEP7_JNIEnvPKcS5_z+540) native: #11 pc 0000896c /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3sdk6Config10initializeEP7_JNIEnv+440) native: #12 pc 00009488 /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (_ZN7spotify3sdk6ConfigC2EP7_JNIEnv+128) native: #13 pc 00009f5c /data/app/com.gametime.gametime.debug-1/lib/arm/libspotify_sdk.so (JNI_OnLoad+48)
at com.spotify.sdk.android.player.NativeSdkPlayer.nativeInit(NativeSdkPlayer.java:46)
at com.spotify.sdk.android.player.NativeSdkPlayer.(NativeSdkPlayer.java:34)
at com.spotify.sdk.android.player.Player.(Player.java:310)
at com.spotify.sdk.android.player.Player.create(Player.java:356)
at com.spotify.sdk.android.player.Player.access$000(Player.java:86)
at com.spotify.sdk.android.player.Player$Builder.build(Player.java:282)
at com.spotify.sdk.android.player.Spotify.getPlayer(Spotify.java:110)
at com.spotify.sdk.android.player.Spotify.getPlayer(Spotify.java:76)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.