java.lang.NoSuchMethodError: No virtual method startCapture(Lcom/craftar/CraftARActivity;)Z in class Lcom/craftar/CraftARSDK; or its super classes (declaration of 'com.craftar.CraftARSDK' appears in /data/data/com.test.orevon.realiteaugmente/files/instant-run/dex/slice-craftar-cloud-image-recognition-sdk-android_2ef54569b311add10fb3d70edb330f83d008ee0d-classes.dex)

Stack Overflow | chaima wetcha | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.NoSuchMethodError: No virtual method

    Stack Overflow | 6 months ago | chaima wetcha
    java.lang.NoSuchMethodError: No virtual method startCapture(Lcom/craftar/CraftARActivity;)Z in class Lcom/craftar/CraftARSDK; or its super classes (declaration of 'com.craftar.CraftARSDK' appears in /data/data/com.test.orevon.realiteaugmente/files/instant-run/dex/slice-craftar-cloud-image-recognition-sdk-android_2ef54569b311add10fb3d70edb330f83d008ee0d-classes.dex)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No virtual method startCapture(Lcom/craftar/CraftARActivity;)Z in class Lcom/craftar/CraftARSDK; or its super classes (declaration of 'com.craftar.CraftARSDK' appears in /data/data/com.test.orevon.realiteaugmente/files/instant-run/dex/slice-craftar-cloud-image-recognition-sdk-android_2ef54569b311add10fb3d70edb330f83d008ee0d-classes.dex)

      at com.test.orevon.realiteaugmente.MainActivity.onPostCreate()
    2. com.test.orevon
      MainActivity.onPostCreate
      1. com.test.orevon.realiteaugmente.MainActivity.onPostCreate(MainActivity.java:89)
      1 frame
    3. com.craftar
      CraftARActivity.onCreate
      1. com.craftar.CraftARActivity.onCreate(CraftARActivity.java:61)
      1 frame
    4. com.test.orevon
      MainActivity.onCreate
      1. com.test.orevon.realiteaugmente.MainActivity.onCreate(MainActivity.java:63)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6876)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
      5. android.app.ActivityThread.access$1100(ActivityThread.java:221)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:158)
      9. android.app.ActivityThread.main(ActivityThread.java:7224)
      9 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames