java.lang.NoSuchMethodError

No static method checkIsOnMainThread()V in class Lorg/webrtc/ThreadUtils; or its super classes (declaration of 'org.webrtc.ThreadUtils' appears in /data/app/org.appspot.apprtc-2/base.apk)

Solutions on the web10381

  • via GitHub by ngochuu90
    , 9 months ago
    No static method checkIsOnMainThread()V in class Lorg/webrtc/ThreadUtils; or its super classes (declaration of 'org.webrtc.ThreadUtils' appears in /data/app/org.appspot.apprtc-2/base.apk)
  • No static method checkIsOnMainThread()V in class Lorg/webrtc/ThreadUtils; or its super classes (declaration of 'org.webrtc.ThreadUtils' appears in /data/app/org.appspot.apprtc-2/base.apk)
  • No static method setUseHttps(Z)V in class Lcom/flurry/android/FlurryAgent; or its super classes (declaration of 'com.flurry.android.FlurryAgent' appears in /data/app/com.parkwhiz.driverApp-2/base.apk)
  • Stack trace

    • java.lang.NoSuchMethodError: No static method checkIsOnMainThread()V in class Lorg/webrtc/ThreadUtils; or its super classes (declaration of 'org.webrtc.ThreadUtils' appears in /data/app/org.appspot.apprtc-2/base.apk) at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:85) at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:73) at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:166) at android.app.Activity.performCreate(Activity.java:5975) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2522) at android.app.ActivityThread.access$800(ActivityThread.java:169) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5546) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:967) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.