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 | 6 months ago
  1. 0

    java.lang.NoSuchMethodError Config.shouldUseCache()

    GitHub | 6 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)
  2. 0

    NDK : Problems with VM aborting and Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)

    Stack Overflow | 2 years ago | TindleWei
    java.lang.NoSuchMethodError: no method with name='getFilesDir' signature='()Ljava/io/File;' in class Ljava/lang/Class; 12-30 15:55:33.328: I/dalvikvm(12862): at com.example.ledemo.MainActivity.setJNI(Native Method) 12-30 15:55:33.328: I/dalvikvm(12862): at com.example.ledemo.MainActivity$1.onClick(MainActivity.java:49) 12-30 15:55:33.328: I/dalvikvm(12862): at android.view.View.performClick(View.java:4211) 12-30 15:55:33.328: I/dalvikvm(12862): at android.view.View$PerformClick.run(View.java:17446) 12-30 15:55:33.328: I/dalvikvm(12862): at android.os.Handler.handleCallback(Handler.java:725) 12-30 15:55:33.328: I/dalvikvm(12862): at android.os.Handler.dispatchMessage(Handler.java:92) 12-30 15:55:33.328: I/dalvikvm(12862): at android.os.Looper.loop(Looper.java:153) 12-30 15:55:33.329: I/dalvikvm(12862): at android.app.ActivityThread.main(ActivityThread.java:5297) 12-30 15:55:33.329: I/dalvikvm(12862): at java.lang.reflect.Method.invokeNative(Native Method) 12-30 15:55:33.329: I/dalvikvm(12862): at java.lang.reflect.Method.invoke(Method.java:511) 12-30 15:55:33.329: I/dalvikvm(12862): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) 12-30 15:55:33.329: I/dalvikvm(12862): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) 12-30 15:55:33.329: I/dalvikvm(12862): at dalvik.system.NativeStart.main(Native Method) 12-30 15:55:33.329: I/dalvikvm(12862): "main" prio=5 tid=1 NATIVE 12-30 15:55:33.330: I/dalvikvm(12862): | group="main" sCount=0 dsCount=0 obj=0x415a3a30 self=0x41592f10 12-30 15:55:33.330: I/dalvikvm(12862): | sysTid=12862 nice=0 sched=0/0 cgrp=apps handle=1074337884 12-30 15:55:33.330: I/dalvikvm(12862): | state=R schedstat=( 267627914 199014395 585 ) utm=19 stm=7 core=0 12-30 15:55:33.372: I/dalvikvm(12862): #00 pc 000012a0 /system/lib/libcorkscrew.so (unwind_backtrace_thread+27) 12-30 15:55:33.372: I/dalvikvm(12862): #01 pc 0006118e /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+53) 12-30 15:55:33.372: I/dalvikvm(12862): #02 pc 00054aaa /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+329) 12-30 15:55:33.372: I/dalvikvm(12862): #03 pc 00054b4a /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25) 12-30 15:55:33.372: I/dalvikvm(12862): #04 pc 00038eba /system/lib/libdvm.so 12-30 15:55:33.373: I/dalvikvm(12862): #05 pc 00040f92 /system/lib/libdvm.so 12-30 15:55:33.373: I/dalvikvm(12862): #06 pc 0002b0f8 /data/app-lib/com.example.ledemo-2/liblittle-effect.so 12-30 15:55:33.373: I/dalvikvm(12862): #07 pc 0002ad34 /data/app-lib/com.example.ledemo-2/liblittle-effect.so 12-30 15:55:33.373: I/dalvikvm(12862): #08 pc 000066fe /data/app-lib/com.example.ledemo-2/liblittle-effect.so (Java_com_example_ledemo_MainActivity_setJNI+13) 12-30 15:55:33.373: I/dalvikvm(12862): #09 pc 0001e4d0 /system/lib/libdvm.so (dvmPlatformInvoke+112) 12-30 15:55:33.373: I/dalvikvm(12862): #10 pc 0004ddf8 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+499) 12-30 15:55:33.374: I/dalvikvm(12862): #11 pc 00050190 /system/lib/libdvm.so (dvmResolveNativeMethod(unsigned int const*, JValue*, Method const*, Thread*)+171) 12-30 15:55:33.374: I/dalvikvm(12862): #12 pc 000278a0 /system/lib/libdvm.so 12-30 15:55:33.374: I/dalvikvm(12862): #13 pc 0002b804 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180) 12-30 15:55:33.374: I/dalvikvm(12862): #14 pc 000613ce /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+373) 12-30 15:55:33.374: I/dalvikvm(12862): #15 pc 000692e8 /system/lib/libdvm.so 12-30 15:55:33.374: I/dalvikvm(12862): #16 pc 000278a0 /system/lib/libdvm.so 12-30 15:55:33.375: I/dalvikvm(12862): #17 pc 0002b804 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180) 12-30 15:55:33.375: I/dalvikvm(12862): #18 pc 000610a8 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+271) 12-30 15:55:33.375: I/dalvikvm(12862): #19 pc 0004a0d0 /system/lib/libdvm.so 12-30 15:55:33.375: I/dalvikvm(12862): #20 pc 0004d126 /system/lib/libandroid_runtime.so 12-30 15:55:33.375: I/dalvikvm(12862): #21 pc 0004decc /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+399) 12-30 15:55:33.375: I/dalvikvm(12862): #22 pc 00000db6 /system/bin/app_process 12-30 15:55:33.376: I/dalvikvm(12862): #23 pc 0001bd98 /system/lib/libc.so (__libc_init+64) 12-30 15:55:33.376: I/dalvikvm(12862): at com.example.ledemo.MainActivity.setJNI(Native Method) 12-30 15:55:33.376: I/dalvikvm(12862): at com.example.ledemo.MainActivity$1.onClick(MainActivity.java:49) 12-30 15:55:33.377: I/dalvikvm(12862): at android.view.View.performClick(View.java:4211) 12-30 15:55:33.377: I/dalvikvm(12862): at android.view.View$PerformClick.run(View.java:17446) 12-30 15:55:33.377: I/dalvikvm(12862): at android.os.Handler.handleCallback(Handler.java:725) 12-30 15:55:33.377: I/dalvikvm(12862): at android.os.Handler.dispatchMessage(Handler.java:92)
  3. 0

    [PinchGestureSample] App Crashes on Pinch on Android

    GitHub | 1 year ago | ahmedalejo
    java.lang.NoSuchMethodError: no method with name='<init>' signature='(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;Landroid/os/Handler;)V' in class Landroid/view/ScaleGestureDetector; 12-01 19:21:23.742 I/dalvikvm(29612): (raw stack trace not found) 12-01 19:21:23.742 I/dalvikvm(29612): "main" prio=5 tid=1 NATIVE 12-01 19:21:23.742 I/dalvikvm(29612): | group="main" sCount=0 dsCount=0 obj=0x41c929a0 self=0x41c7fb28 12-01 19:21:23.742 I/dalvikvm(29612): | sysTid=29612 nice=0 sched=0/0 cgrp=[fopen-error:2] handle=1074374108 12-01 19:21:23.742 I/dalvikvm(29612): | state=R schedstat=( 0 0 0 ) utm=324 stm=72 core=1 12-01 19:21:23.781 I/dalvikvm(29612): #00 pc 000012a0 /system/lib/libcorkscrew.so (unwind_backtrace_thread+27) 12-01 19:21:23.781 I/dalvikvm(29612): #01 pc 0005fd1c /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+35) 12-01 19:21:23.781 I/dalvikvm(29612): #02 pc 00053ba8 /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+303) 12-01 19:21:23.781 I/dalvikvm(29612): #03 pc 00053c42 /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25) 12-01 19:21:23.781 I/dalvikvm(29612): #04 pc 00038bba /system/lib/libdvm.so 12-01 19:21:23.781 I/dalvikvm(29612): #05 pc 000415d4 /system/lib/libdvm.so
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Put Jackson Java Module and Scala module in the same version.
    via GitHub by anujlal01
  6. 0
    Check if you didn't miss adding Jackson dependencies to your code.
    via GitHub by anujlal01

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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