java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/os/BuildCompat;


Samebug tips

You need to setup a GlideModule before use Glide.


,
via github.io by Unknown author

Solutions on the web

Solution icon of stackoverflow
Failed resolution of: Landroid/support/v4/os/BuildCompat;

Solution icon of stackoverflow
Failed resolution of: Landroid/support/v4/os/BuildCompat;

Stack trace

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

6 times, 1 week ago
2 times, 2 weeks ago
9 times, 3 weeks ago
Samebug visitor profile picture
Unknown user
2 times, 4 weeks ago
Samebug visitor profile picture
Unknown user
Once, 4 weeks ago
165 more bugmates