java.lang.NoClassDefFoundError: com.squareup.okhttp.OkHttpClient

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.NoClassDefFoundError: com.squareup.okhttp.OkHttpClient

    Stack Overflow | 7 months ago | Lutaaya Huzaifah
    java.lang.NoClassDefFoundError: com.squareup.okhttp.OkHttpClient
  2. 0

    Custom Downloader using Picasso

    Stack Overflow | 3 years ago | Diffy
    java.lang.NoClassDefFoundError: com.squareup.okhttp.OkHttpClient
  3. 0

    Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

    Stack Overflow | 3 months ago | Shubham Shukla
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/okhttp/OkHttpClient;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After Updating okhttp to okhttp3 the OkHttpDownloader wont work for Picasso

    GitHub | 1 year ago | ArslanAli7
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/okhttp/OkHttpClient;
  6. 0

    AndroidAnnotations with dagger compile error

    GitHub | 4 years ago | sinojelly
    java.lang.RuntimeException: Unable to create application com.example.test.app.TestApplication: java.lang.TypeNotPresentException: Type class java.lang.Object$$ModuleAdapter not present

  1. Larten 3 times, last 1 year ago
4 unregistered visitors
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.NoClassDefFoundError

    com.squareup.okhttp.OkHttpClient

    at com.squareup.picasso.OkHttpDownloader.defaultOkHttpClient()
  2. Picasso
    OkHttpDownloader.<init>
    1. com.squareup.picasso.OkHttpDownloader.defaultOkHttpClient(OkHttpDownloader.java:31)
    2. com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:76)
    3. com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:65)
    3 frames
  3. pixsor.app.huzykamz
    PixorAdmin.onCreate
    1. pixsor.app.huzykamz.pixoradmin.PixorAdmin.onCreate(PixorAdmin.java:21)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
    2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4328)
    3. android.app.ActivityThread.access$1500(ActivityThread.java:135)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
    5. android.os.Handler.dispatchMessage(Handler.java:102)
    6. android.os.Looper.loop(Looper.java:136)
    7. android.app.ActivityThread.main(ActivityThread.java:5001)
    7 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame