java.lang.UnsatisfiedLinkError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.


rafael

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

  • Titanium-built apps that include modules are crashing on startup on a Samsung Galaxy Tablet 3. {code} ADB indicates that there is an UnsatisfiedLinkError whenever an app tries to load a module eg. 10-10 04:42:33.282: W/dalvikvm(19548): threadid=11: thread exiting with uncaught exception (group=0x41a96e10) 10-10 04:42:33.282: E/TiApplication(19548): (KrollRuntimeThread) [319,707] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null; Titanium 3.1.3,2013/09/18 12:01,222f4d1 10-10 04:42:33.282: E/TiApplication(19548): java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null 10-10 04:42:33.282: E/TiApplication(19548): at java.lang.Runtime.loadLibrary(Runtime.java:365) 10-10 04:42:33.282: E/TiApplication(19548): at java.lang.System.loadLibrary(System.java:535) 10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114) 10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81) 10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175) 10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109) 10-10 04:42:33.282: E/AndroidRuntime(19548): FATAL EXCEPTION: KrollRuntimeThread 10-10 04:42:33.282: E/AndroidRuntime(19548): java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null 10-10 04:42:33.282: E/AndroidRuntime(19548): at java.lang.Runtime.loadLibrary(Runtime.java:365) 10-10 04:42:33.282: E/AndroidRuntime(19548): at java.lang.System.loadLibrary(System.java:535) 10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114) 10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81) 10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175) 10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109) {code} This is relevant to apps built using 3.0.2.GA and 3.1.3.GA eg. 'TeamApp', 'StockLight', 'What should I wear.com.au' Some older apps that were been built on older versions of titanium seem to still work eg. 'DiviMe' in the Google Play store
    via by Jason Kotchoff,
  • Titanium-built apps that include modules are crashing on startup on a Samsung Galaxy Tablet 3. {code} ADB indicates that there is an UnsatisfiedLinkError whenever an app tries to load a module eg. 10-10 04:42:33.282: W/dalvikvm(19548): threadid=11: thread exiting with uncaught exception (group=0x41a96e10) 10-10 04:42:33.282: E/TiApplication(19548): (KrollRuntimeThread) [319,707] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null; Titanium 3.1.3,2013/09/18 12:01,222f4d1 10-10 04:42:33.282: E/TiApplication(19548): java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null 10-10 04:42:33.282: E/TiApplication(19548): at java.lang.Runtime.loadLibrary(Runtime.java:365) 10-10 04:42:33.282: E/TiApplication(19548): at java.lang.System.loadLibrary(System.java:535) 10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114) 10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81) 10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175) 10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109) 10-10 04:42:33.282: E/AndroidRuntime(19548): FATAL EXCEPTION: KrollRuntimeThread 10-10 04:42:33.282: E/AndroidRuntime(19548): java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null 10-10 04:42:33.282: E/AndroidRuntime(19548): at java.lang.Runtime.loadLibrary(Runtime.java:365) 10-10 04:42:33.282: E/AndroidRuntime(19548): at java.lang.System.loadLibrary(System.java:535) 10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114) 10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81) 10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175) 10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109) {code} This is relevant to apps built using 3.0.2.GA and 3.1.3.GA eg. 'TeamApp', 'StockLight', 'What should I wear.com.au' Some older apps that were been built on older versions of titanium seem to still work eg. 'DiviMe' in the Google Play store
    via by Jason Kotchoff,
  • Runtime Error
    via GitHub by asleson
    ,
  • Not working anymore.
    via GitHub by deckameron
    ,
    • java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:365) at java.lang.System.loadLibrary(System.java:535) at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114) at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81) at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175) at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Macapon
    33 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    271 more bugmates