java.lang.NoClassDefFoundError

Failed resolution of: Lcom/squareup/picasso/Picasso; First i though Picasso is culprit, After i removed Picasso library its starts giving me error messages in other Activities. Some Activities are working fine, some giving error messages. Its giving java.lang.NoClassDefFoundError: in most of the Activities. The problem is occuring only in some phones randomly. One s5 is working fine, one is giving this error message. s4 is creating problem, while s7 is working fine. I have spent hours on this, but unable to find out the main cause of this error message. Video List Activity java.lang.NoClassDefFoundError: Failed resolution of: com/myapp/app/VideosListActivity;

Samebug tips1

You need to setup a GlideModule before use Glide.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/picasso/Picasso; First i though Picasso is culprit, After i removed Picasso library its starts giving me error messages in other Activities. Some Activities are working fine, some giving error messages. Its giving java.lang.NoClassDefFoundError: in most of the Activities. The problem is occuring only in some phones randomly. One s5 is working fine, one is giving this error message. s4 is creating problem, while s7 is working fine. I have spent hours on this, but unable to find out the main cause of this error message. Video List Activity java.lang.NoClassDefFoundError: Failed resolution of: com/myapp/app/VideosListActivity; at com.myapp.app.MainActivity$8.onClick(MainActivity.java:422) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.myapp.app.VideosListActivity" on path: DexPathList[[zip file "/data/app/com.myapp.app-1/base.apk"], nativeLibraryDirectories=[/data/app/com.myapp.app-1/lib/arm, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown UserUnknown User
2 times, last one
Unknown visitor
Unknown visitorOnce,
jkjk
16 times, last one
MyInnosMyInnos
2 times, last one
Unknown visitor
Unknown visitorOnce,
158 more bugmates