java.lang.RuntimeException

tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • [HELP] Buiding LatinIME - XDA Forums
    via by Unknown author,
  • GitHub comment 653#196048727
    via GitHub by aptly-io
    ,
  • GitHub comment 50#19840685
    via GitHub by cobaltdr
    ,
  • GitHub comment 201#136069544
    via GitHub by koral--
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{org.sufficientlysecure.viewer/org.ebookdroid.ui.viewer.ViewerActivity}: java.lang.RuntimeException: java.lang.ExceptionInInitializerError at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2212) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2271) at android.app.ActivityThread.access$800(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5146) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.RuntimeException: java.lang.ExceptionInInitializerError at org.ebookdroid.core.models.DocumentModel.<init>(DocumentModel.java:71) at org.ebookdroid.ui.viewer.ViewerActivityController.afterCreate(ViewerActivityController.java:238) at org.ebookdroid.ui.viewer.ViewerActivityController.afterCreate(ViewerActivityController.java:94) at org.emdev.ui.AbstractActionActivity.onCreate(AbstractActionActivity.java:107) at android.app.Activity.performCreate(Activity.java:5231) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169) ... 12 more Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1208) at org.ebookdroid.core.models.DocumentModel.<init>(DocumentModel.java:68) ... 18 more Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Couldn't load ebookdroid from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.sufficientlysecure.viewer-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.sufficientlysecure.viewer-1, /vendor/lib, /system/lib]]]: findLibrary returned null at org.ebookdroid.EBookDroidLibraryLoader.load(EBookDroidLibraryLoader.java:21) at org.ebookdroid.droids.mupdf.codec.MuPdfContext.<clinit>(MuPdfContext.java:24) ... 21 more Caused by: java.lang.UnsatisfiedLinkError: Couldn't load ebookdroid from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.sufficientlysecure.viewer-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.sufficientlysecure.viewer-1, /vendor/lib, /system/lib]]]: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:358) at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method) at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631) at java.lang.Runtime.loadLibrary(Native Method) at java.lang.System.loadLibrary(System.java:526) at org.ebookdroid.EBookDroidLibraryLoader.load(EBookDroidLibraryLoader.java:17) ... 22 more

    Users with the same issue

    malhobayyebmalhobayyeb
    2 times, last one,
    Alexandru PopaAlexandru Popa
    6 times, last one,
    pranavprakashpranavprakash
    4 times, last one,
    franky lifranky li
    14 times, last one,
    ivotje50ivotje50
    36 times, last one,
    122 more bugmates