java.lang.NoSuchFieldError: No static field METHODS of type Ljava/util/Set; in class Lcom/squareup/okhttp/internal/http/HttpMethod; or its superclasses (declaration of 'com.squareup.okhttp.internal.http.HttpMethod' appears in /data/app/com.mehconsulting.mehrestclient-1/base.apk)

Stack Overflow | Mark Hansen | 3 months ago
  1. 0

    NoSuchFieldError when trying to access REST service method via Retrofit and SSL

    Stack Overflow | 3 months ago | Mark Hansen
    java.lang.NoSuchFieldError: No static field METHODS of type Ljava/util/Set; in class Lcom/squareup/okhttp/internal/http/HttpMethod; or its superclasses (declaration of 'com.squareup.okhttp.internal.http.HttpMethod' appears in /data/app/com.mehconsulting.mehrestclient-1/base.apk)
  2. 0

    NoSuchFieldError when using NetworkPolicy.OFFLINE

    GitHub | 8 months ago | JonasPrap
    java.lang.NoSuchFieldError: No static field FORCE_CACHE of type Lcom/squareup/okhttp/CacheControl; in class Lcom/squareup/okhttp/CacheControl; or its superclasses (declaration of 'com.squareup.okhttp.CacheControl' appears in /data/app/com.xxx.xxx-1/base.apk:classes2.dex)
  3. 0

    How can I remove NAME field in signup UI?

    GitHub | 1 year ago | Ricardo1980
    java.lang.NoSuchFieldError: No static field signup_name_input of type I in class Lcom/parse/ui/R$id; or its superclasses (declaration of 'com.parse.ui.R$id' appears in /data/app/com.ricardoruizlopez.sharewifi-1/base.apk)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    opening activity of module from main project

    Stack Overflow | 3 months ago | Ravi
    java.lang.NoSuchFieldError: No static field edtTextMessage of type I in class Lcom/palie_library/R$id; or its superclasses (declaration of 'com.palie_library.R$id' appears in /data/app/com.testmypalie-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.NoSuchFieldError

      No static field METHODS of type Ljava/util/Set; in class Lcom/squareup/okhttp/internal/http/HttpMethod; or its superclasses (declaration of 'com.squareup.okhttp.internal.http.HttpMethod' appears in /data/app/com.mehconsulting.mehrestclient-1/base.apk)

      at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.setRequestMethod()
    2. OkHttp URLConnection
      HttpsURLConnectionImpl.setRequestMethod
      1. com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.setRequestMethod(HttpURLConnectionImpl.java:550)
      2. com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.setRequestMethod(DelegatingHttpsURLConnection.java:113)
      3. com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.setRequestMethod(HttpsURLConnectionImpl.java:25)
      3 frames
    3. Retrofit
      CallbackRunnable.run
      1. retrofit.client.UrlConnectionClient.prepareRequest(UrlConnectionClient.java:50)
      2. retrofit.client.UrlConnectionClient.execute(UrlConnectionClient.java:37)
      3. retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:321)
      4. retrofit.RestAdapter$RestHandler.access$100(RestAdapter.java:220)
      5. retrofit.RestAdapter$RestHandler$2.obtainResponse(RestAdapter.java:278)
      6. retrofit.CallbackRunnable.run(CallbackRunnable.java:42)
      6 frames
    4. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      2 frames
    5. Retrofit
      Platform$Android$2$1.run
      1. retrofit.Platform$Android$2$1.run(Platform.java:142)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame