java.lang.NoClassDefFoundError: okhttp3.HttpUrl$Builder

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

    Exception in Okhttp network library in below lollipop devices

    Stack Overflow | 9 months ago | Sandeep Singh Bandral
    java.lang.NoClassDefFoundError: okhttp3.HttpUrl$Builder

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      okhttp3.HttpUrl$Builder

      at okhttp3.HttpUrl.parse()
    2. okhttp3
      Request$Builder.url
      1. okhttp3.HttpUrl.parse(HttpUrl.java:642)
      2. okhttp3.Request$Builder.url(Request.java:140)
      2 frames