java.lang.NoClassDefFoundError

Failed resolution of: Lcom/delight/pushlibrary/R$layout;

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.

Solutions on the web2751

Stack trace

  • java.lang.NoClassDefFoundError: Failed resolution of: Lcom/delight/pushlibrary/R$layout; at com.moe.pushlibrary.MoEHelper.showInAppMessage(MoEHelper.java:388) at com.moe.pushlibrary.MoEHelper.checkInAppMessage(MoEHelper.java:368) at com.moe.pushlibrary.MoEHelper.access$3(MoEHelper.java:362) at com.moe.pushlibrary.MoEHelper$4.onPostExecute(MoEHelper.java:293) at com.moe.pushlibrary.MoEHelper$4.onPostExecute(MoEHelper.java:1) at android.os.AsyncTask.finish(AsyncTask.java:632) at android.os.AsyncTask.access$600(AsyncTask.java:177) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) Caused by: java.lang.ClassNotFoundException: Didn't find class \"com.delight.pushlibrary.R$layout\" on path: DexPathList[[zip file \"/data/app/com.xyz-1/base.apk\"],nativeLibraryDirectories=[/data/app/com.xyz-1/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

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 visitor
Unknown visitorOnce,
Hiren AmaliyarHiren Amaliyar
7 times, last one
Unknown visitor
Unknown visitorOnce,
filipebatistafilipebatista
6 times, last one
Unknown UserUnknown User
Once,
158 more bugmates