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)

GitHub | cjwilliams24680 | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.NoSuchMethodError Config.shouldUseCache()

    GitHub | 10 months ago | cjwilliams24680
    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)

    Root Cause Analysis

    1. 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()
    2. com.spotify.sdk
      Spotify.getPlayer
      1. com.spotify.sdk.android.player.NativeSdkPlayer.nativeInit(NativeSdkPlayer.java:46)
      2. com.spotify.sdk.android.player.NativeSdkPlayer.<clinit>(NativeSdkPlayer.java:34)
      3. com.spotify.sdk.android.player.Player.<init>(Player.java:310)
      4. com.spotify.sdk.android.player.Player.create(Player.java:356)
      5. com.spotify.sdk.android.player.Player.access$000(Player.java:86)
      6. com.spotify.sdk.android.player.Player$Builder.build(Player.java:282)
      7. com.spotify.sdk.android.player.Spotify.getPlayer(Spotify.java:110)
      8. com.spotify.sdk.android.player.Spotify.getPlayer(Spotify.java:76)
      8 frames