java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/OkHttpClient;

GitHub | sendtion | 9 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.NoClassDefFoundError: Failed resolution of: Lokhttp3/OkHttpClient;

    GitHub | 9 months ago | sendtion
    java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/OkHttpClient;

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Failed resolution of: Lokhttp3/OkHttpClient;

      at com.bri.cdstm.ui.MainActivity.getAsynHttp()
    2. com.bri.cdstm
      MainActivity.onCreate
      1. com.bri.cdstm.ui.MainActivity.getAsynHttp(MainActivity.java:119)
      2. com.bri.cdstm.ui.MainActivity.onCreate(MainActivity.java:114)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6323)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2385)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2492)
      5. android.app.ActivityThread.access$900(ActivityThread.java:153)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1358)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:148)
      9. android.app.ActivityThread.main(ActivityThread.java:5458)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
      2 frames