java.lang.NoClassDefFoundError: Failed resolution of: Lretrofit/Endpoints;

google.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Log window crashes

    GitHub | 2 years ago | Zillode
    java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.ShareActionProvider" on path: DexPathList[[zip file "/data/app/com.nutomic.syncthingandroid-2/base.apk"],nativeLibraryDirectories=[/data/app/com.nutomic.syncthingandroid-2/lib/arm, /vendor/lib, /system/lib]]
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.ClassNotFoundException

    Didn't find class "retrofit.Endpoints" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.ourapp.app.debug.test-2/base.apk", zip file "/data/app/com.ourapp.app.debug-2/base.apk"],nativeLibraryDirectories=[/data/app/com.ourapp.app.debug.test-2/lib/arm, /data/app/com.ourapp.app.debug-2/lib/arm, /vendor/lib, /system/lib]]

    at dalvik.system.BaseDexClassLoader.findClass()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    2 frames
  4. com.ourapp.rest
    ApiHelper.getInstance
    1. com.ourapp.rest.ApiHelper.<init>(ApiHelper.java:58)
    2. com.ourapp.rest.ApiHelper.getInstance(ApiHelper.java:76)
    2 frames
  5. com.ourapp.fragments
    FragmentHealthFormTest.testJsonAnswers
    1. com.ourapp.fragments.FragmentHealthFormTest.testJsonAnswers(FragmentHealthFormTest.java:25)
    1 frame
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. JUnit
    TestCase.run
    1. junit.framework.TestCase.runTest(TestCase.java:168)
    2. junit.framework.TestCase.runBare(TestCase.java:134)
    3. junit.framework.TestResult$1.protect(TestResult.java:115)
    4. junit.framework.TestResult.runProtected(TestResult.java:133)
    5. junit.framework.TestResult.run(TestResult.java:118)
    6. junit.framework.TestCase.run(TestCase.java:124)
    6 frames
  8. Android Platform
    Instrumentation$InstrumentationThread.run
    1. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
    2. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
    3. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
    4. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1837)
    4 frames