java.lang.NoClassDefFoundError

Failed resolution of: Landroid/support/v4/os/BuildCompat NoClassDefFoundError: Failed resolution of: Landroid/support/v4/os/BuildCompat; java.lang.NoClassDefFoundError: android.support.v4.content.LocalBroadcastManager facebook android app Error : java.lang.NoClassDefFoundError Android https://github.com/freshplanet/ANE-Facebook/issues/201 However i have been unsuccessful in fixing this issue.The above links suggested cleaning, rebuilding, invalidating and restarting. The error report i am getting is as follows: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/os/BuildCompat;

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: Landroid/support/v4/os/BuildCompat NoClassDefFoundError: Failed resolution of: Landroid/support/v4/os/BuildCompat; java.lang.NoClassDefFoundError: android.support.v4.content.LocalBroadcastManager facebook android app Error : java.lang.NoClassDefFoundError Android https://github.com/freshplanet/ANE-Facebook/issues/201 However i have been unsuccessful in fixing this issue.The above links suggested cleaning, rebuilding, invalidating and restarting. The error report i am getting is as follows: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/os/BuildCompat; at android.support.v4.content.ContextCompat.isDeviceProtectedStorage(ContextCompat.java:565) at com.google.firebase.FirebaseApp.zza(Unknown Source) at com.google.firebase.FirebaseApp.initializeApp(Unknown Source) at com.google.firebase.FirebaseApp.initializeApp(Unknown Source) at com.google.firebase.FirebaseApp.initializeApp(Unknown Source) at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source) at android.content.ContentProvider.attachInfo(ContentProvider.java:1751) at android.content.ContentProvider.attachInfo(ContentProvider.java:1726) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source) at android.app.ActivityThread.installProvider(ActivityThread.java:5324) at android.app.ActivityThread.installContentProviders(ActivityThread.java:4898) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4838) at android.app.ActivityThread.access$1500(ActivityThread.java:178) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1536) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5636) 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:959) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754) Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.os.BuildCompat" on path: DexPathList[[zip file "/data/app/pinnacle.org.rider-1/base.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_dependencies_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_0_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_1_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_2_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_3_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_4_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_5_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_6_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_7_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_8_apk.apk", zip file "/data/app/pinnacle.org.rider-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/pinnacle.org.rider-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) ... 21 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