java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Log window crashes
    via GitHub by Zillode
    ,
  • Convert docx to html in Android
    via Stack Overflow by ItsTimaiFool
    ,
    • java.lang.NoClassDefFoundError: Failed resolution of: Lretrofit/Endpoints; at com.ourapp.rest.ApiHelper.<init>(ApiHelper.java:58) at com.ourapp.rest.ApiHelper.getInstance(ApiHelper.java:76) at com.ourapp.fragments.FragmentHealthFormTest.testJsonAnswers(FragmentHealthFormTest.java:25) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:115) at junit.framework.TestResult.runProtected(TestResult.java:133) at junit.framework.TestResult.run(TestResult.java:118) at junit.framework.TestCase.run(TestCase.java:124) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1837) Caused by: 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(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) ... 15 more

    Users with the same issue

    Hiren AmaliyarHiren Amaliyar
    50 times, last one,
    Unknown UserUnknown User
    1 times, last one,
    Indri YunitaIndri Yunita
    1 times, last one,
    winer222winer222
    80 times, last one,
    ahmedahmed
    6 times, last one,
    155 more bugmates