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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

Solutions on the web

java.lang.NoClassDefFoundError: Failed resolution of: Lretrofit/Endpoints;
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at com.ourapp.rest.ApiHelper.(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)

Users with the same issue

18 times, 1 month ago
6 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 month ago
6 times, 4 months ago
165 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.