java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.ContextCompat" on path: DexPathList[[zip file "/data/app/com.example.yusuf.bluetoothserver-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.yusuf.bluetoothserver-2/lib/arm, /vendor/lib, /system/lib]]

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.

Solutions on the web

via Stack Overflow by BIllJoe
, 1 year ago
Didn't find class "android.support.v4.content.ContextCompat" on path: DexPathList[[zip file "/data/app/com.example.yusuf.bluetoothserver-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.yusuf.bluetoothserver-2/lib/arm, /vendor/lib, /system/lib]]
via GitHub by juamor86
, 1 year ago
Didn't find class "org.osmdroid.bonuspack.R$layout" on path: DexPathList[[zip file "/data/app/com.example.demo.osmdroid-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.demo.osmdroid-2/lib/arm, /vendor/lib, /system/lib]]
via Stack Overflow by Hunt
, 1 year ago
Didn't find class "okhttp3.OkHttpClient$Builder" on path: DexPathList[[zip file "/data/app/com.db-2/base.apk"],nativeLibraryDirectories=[/data/app/com.db-2/lib/arm, /vendor/lib, /system/lib]]
via GitHub by juamor86
, 1 year ago
Didn't find class "org.osmdroid.bonuspack.R$layout" on path: DexPathList[[zip file "/data/app/com.example.demo.osmdroid-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.demo.osmdroid-2/lib/arm, /vendor/lib, /system/lib]]
via GitHub by stripathi669
, 1 year ago
Didn't find class "com.heinrichreimersoftware.singleinputform.R$layout" on path: DexPathList[[zip file "/data/app/my.package.name-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
via Stack Overflow by Mari Murotani
, 1 year ago
Didn't find class "com.example.mari.myandroid.TestDinamicLoad" on path: DexPathList[[zip file "/data/app/com.example.mari.myandorid2-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.ContextCompat" on path: DexPathList[[zip file "/data/app/com.example.yusuf.bluetoothserver-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.yusuf.bluetoothserver-2/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:504)

Users with the same issue

21 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
9 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
165 more bugmates

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