java.lang.NoSuchMethodError: No direct method <init>(Ljava/util/concurrent/Executor;Lcom/squareup/leakcanary/DebuggerControl;Lcom/squareup/leakcanary/GcTrigger;Lcom/squareup/leakcanary/HeapDumper;Lcom/squareup/leakcanary/HeapDump$Listener;Lcom/squareup/leakcanary/ExcludedRefs;)V in class Lcom/squareup/leakcanary/RefWatcher; or its super classes (declaration of 'com.squareup.leakcanary.RefWatcher' appears in /data/app/com.myapp.debug-2/base.apk)

GitHub | kypeli | 2 months ago
  1. 0

    Leak Canary 1.4 does not work with the Jack toolchain

    GitHub | 2 months ago | kypeli
    java.lang.NoSuchMethodError: No direct method <init>(Ljava/util/concurrent/Executor;Lcom/squareup/leakcanary/DebuggerControl;Lcom/squareup/leakcanary/GcTrigger;Lcom/squareup/leakcanary/HeapDumper;Lcom/squareup/leakcanary/HeapDump$Listener;Lcom/squareup/leakcanary/ExcludedRefs;)V in class Lcom/squareup/leakcanary/RefWatcher; or its super classes (declaration of 'com.squareup.leakcanary.RefWatcher' appears in /data/app/com.myapp.debug-2/base.apk)
  2. 0

    RoboSpice throwing okhttp exceptions

    Stack Overflow | 11 months ago | Arbitur
    java.lang.NoSuchMethodError: No direct method <init>(Lcom/squareup/okhttp/OkHttpClient;Lcom/squareup/okhttp/Request;ZZZLcom/squareup/okhttp/Connection;Lcom/squareup/okhttp/internal/http/RouteSelector;Lcom/squareup/okhttp/internal/http/RetryableSink;Lcom/squareup/okhttp/Response;)V in class Lcom/squareup/okhttp/internal/http/HttpEngine; or its super classes (declaration of 'com.squareup.okhttp.internal.http.HttpEngine' appears in /data/app/com.company.app.customerapp-1/base.apk)
  3. 0

    Retrofit throwing exceptions for every single call

    GitHub | 11 months ago | arbitur
    java.lang.NoSuchMethodError: No direct method <init>(Lcom/squareup/okhttp/OkHttpClient;Lcom/squareup/okhttp/Request;ZZZLcom/squareup/okhttp/Connection;Lcom/squareup/okhttp/internal/http/RouteSelector;Lcom/squareup/okhttp/internal/http/RetryableSink;Lcom/squareup/okhttp/Response;)V in class Lcom/squareup/okhttp/internal/http/HttpEngine; or its super classes (declaration of 'com.squareup.okhttp.internal.http.HttpEngine' appears in /data/app/com.adoperator.tidyapp.customerapp-1/base.apk)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoSuchMethodError

    GitHub | 12 months ago | jimmy0251
    java.lang.NoSuchMethodError: No virtual method callEngineGetConnection(Lcom/squareup/okhttp/Call;)Lcom/squareup/okhttp/Connection; in class Lcom/squareup/okhttp/internal/Internal; or its super classes (declaration of 'com.squareup.okhttp.internal.Internal' appears in /data/app/com.anantapps.sme-1/base.apk)
  6. 0

    How to integrate CreativeSDKImage with an exisiting Parse Android Project?

    Stack Overflow | 1 year ago | Cockpit Aliens
    java.lang.NoSuchMethodError: No virtual method setFollowRedirects(Z)V in class Lcom/squareup/okhttp/OkHttpClient; or its super classes (declaration of 'com.squareup.okhttp.OkHttpClient' appears in /data/app/com.aviary.android.sample-1/base.apk)

    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 direct method <init>(Ljava/util/concurrent/Executor;Lcom/squareup/leakcanary/DebuggerControl;Lcom/squareup/leakcanary/GcTrigger;Lcom/squareup/leakcanary/HeapDumper;Lcom/squareup/leakcanary/HeapDump$Listener;Lcom/squareup/leakcanary/ExcludedRefs;)V in class Lcom/squareup/leakcanary/RefWatcher; or its super classes (declaration of 'com.squareup.leakcanary.RefWatcher' appears in /data/app/com.myapp.debug-2/base.apk)

      at com.squareup.leakcanary.LeakCanary.androidWatcher()
    2. com.squareup.leakcanary
      LeakCanary.install
      1. com.squareup.leakcanary.LeakCanary.androidWatcher(LeakCanary.java:75)
      2. com.squareup.leakcanary.LeakCanary.install(LeakCanary.java:58)
      3. com.squareup.leakcanary.LeakCanary.install(LeakCanary.java:41)
      3 frames
    3. com.myapp
      MyApplication.onCreate
      1. com.myapp.MyApplication.onCreate(MyApplication.java:35)
      1 frame
    4. Android Platform
      ActivityThread.handleBindApplication
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
      2 frames