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.

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.application.CustomApplication.onCreate(CustomApplication.java:43)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1011)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4518)
at android.app.ActivityThread.access$1500(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
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:899)

Users with the same issue

18 times, 2 months 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

Write tip

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