java.lang.ClassNotFoundException: Didn't find class "android.os.PersistableBundle" on path: DexPathList[[zip file "/data/app/co.example.myexample-2.apk"],nativeLibraryDirectories=[/data/app-lib/co.example.myexample-2, /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 GitHub by vxhviet
, 1 year ago
Didn't find class "android.os.PersistableBundle" on path: DexPathList[[zip file "/data/app/co.example.myexample-2.apk"],nativeLibraryDirectories=[/data/app-lib/co.example.myexample-2, /vendor/lib, /system/lib]]
via Stack Overflow by 方人也
, 8 months ago
Didn't find class "android.view.WindowInsets" on path: DexPathList[[zip file "/data/app/***-1.apk"],nativeLibraryDirectories=[/data/app-lib/***-1, /vendor/lib, /system/lib]]
via GitHub by bennyguitar
, 1 year ago
Didn't find class "android.graphics.Outline" on path: DexPathList[[zip file "/data/app/com.curse.highwind-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.curse.highwind-1, /vendor/lib, /system/lib]]
via GitHub by enchev
, 2 years ago
Didn't find class "com.tns.gen.org.java_websocket.client.WebSocketClient_f_____lib_websocket_l18_c40__" on path: DexPathList[[zip file "/data/app/org.nativescript.SampleApp-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.nativescript.SampleApp-1, /vendor/lib, /system/lib]]
via Stack Overflow by ruaa.brkat
, 2 years ago
Didn't find class "org.osmdroid.views.MapView" on path: DexPathList[[zip file "/data/app/com.example.openstreetmap-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.openstreetmap-2, /vendor/lib, /system/lib]]
via Stack Overflow by Margaret
, 2 years ago
Didn't find class "com.example.bilisattendancerecorder.widget.GIFView" on path: DexPathList[[zip file "/data/app/com.example.bilisattendancerecorder-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.bilisattendancerecorder-2, /vendor/lib, /system/lib]]
java.lang.ClassNotFoundException: Didn't find class "android.os.PersistableBundle" on path: DexPathList[[zip file "/data/app/co.example.myexample-2.apk"],nativeLibraryDirectories=[/data/app-lib/co.example.myexample-2, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at java.lang.Class.getDeclaredMethods(Class.java)
at de.greenrobot.event.SubscriberMethodFinder.findSubscriberMethods(SubscriberMethodFinder.java:75)
at de.greenrobot.event.EventBus.register(EventBus.java:163)
at de.greenrobot.event.EventBus.register(EventBus.java:133)
at com.commonsware.cwac.cam2.AbstractCameraActivity.onStart(AbstractCameraActivity.java:256)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1188)
at android.app.Activity.performStart(Activity.java:5382)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2279)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2362)
at android.app.ActivityThread.access$700(ActivityThread.java:168)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:5493)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1225)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1041)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 4 months ago
7 times, 4 months ago
187 times, 5 months ago
98 times, 1 year ago
165 more bugmates

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