java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found

Appcelerator JIRA | Rodolfo Perottoni | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The HTTPS module does not work on the SDK 6.X anymore. It needs to be recompiled with the latest NDK. {code:java} [ERROR] TiApplication: (main) [46,254] Sending event: exception on thread: main msg:java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found; Titanium 6.0.0,2016/08/24 15:30,undefined [ERROR] TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found [ERROR] TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:371) [ERROR] TiApplication: at java.lang.System.loadLibrary(System.java:988) [ERROR] TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:151) [ERROR] TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:118) [ERROR] TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205) [ERROR] TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114) [ERROR] TiApplication: at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:136) [ERROR] TiApplication: at au.com.MotorMouth.MotorMouth.AppAndroidApplication.onCreate(AppAndroidApplication.java:55) [ERROR] TiApplication: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012) [ERROR] TiApplication: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4553) [ERROR] TiApplication: at android.app.ActivityThread.access$1500(ActivityThread.java:151) [ERROR] TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364) [ERROR] TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] TiApplication: at android.os.Looper.loop(Looper.java:135) [ERROR] TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5254) [ERROR] TiApplication: at java.lang.reflect.Method.invoke(Native Method) [ERROR] TiApplication: at java.lang.reflect.Method.invoke(Method.java:372) [ERROR] TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) [ERROR] TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) {code}

    Appcelerator JIRA | 9 months ago | Rodolfo Perottoni
    java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found
  2. 0

    The HTTPS module does not work on the SDK 6.X anymore. It needs to be recompiled with the latest NDK. {code:java} [ERROR] TiApplication: (main) [46,254] Sending event: exception on thread: main msg:java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found; Titanium 6.0.0,2016/08/24 15:30,undefined [ERROR] TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found [ERROR] TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:371) [ERROR] TiApplication: at java.lang.System.loadLibrary(System.java:988) [ERROR] TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:151) [ERROR] TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:118) [ERROR] TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205) [ERROR] TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114) [ERROR] TiApplication: at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:136) [ERROR] TiApplication: at au.com.MotorMouth.MotorMouth.AppAndroidApplication.onCreate(AppAndroidApplication.java:55) [ERROR] TiApplication: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012) [ERROR] TiApplication: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4553) [ERROR] TiApplication: at android.app.ActivityThread.access$1500(ActivityThread.java:151) [ERROR] TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364) [ERROR] TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] TiApplication: at android.os.Looper.loop(Looper.java:135) [ERROR] TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5254) [ERROR] TiApplication: at java.lang.reflect.Method.invoke(Native Method) [ERROR] TiApplication: at java.lang.reflect.Method.invoke(Method.java:372) [ERROR] TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) [ERROR] TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) {code}

    Appcelerator JIRA | 9 months ago | Rodolfo Perottoni
    java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found
  3. 0

    I'm building a project with this .AAR: https://github.com/PaoloRotolo/AppIntro Problem is, this project needs appcompatV7 underneath it. If i try and build my project with the appcompatV7 .JAR file, i get the following error when the dexer is run: {code:java} [ERROR] Failed to run dexer: [ERROR] [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/app/ActionBar; [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/app/ActionBar$DisplayOptions; [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/app/ActionBar$LayoutParams; [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/app/ActionBar$NavigationMode; [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/app/ActionBar$OnMenuVisibilityListener; [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/app/ActionBar$OnNavigationListener; [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/app/ActionBar$Tab; [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/app/ActionBar$TabListener; [ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v7/app/ActionBarActivity; [ERROR] [ERROR] UNEXPECTED TOP-LEVEL EXCEPTION: [ERROR] java.lang.RuntimeException: Translation has been interrupted [ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:608) [ERROR] at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311) [ERROR] at com.android.dx.command.dexer.Main.run(Main.java:277) [ERROR] at com.android.dx.command.dexer.Main.main(Main.java:245) [ERROR] at com.android.dx.command.Main.main(Main.java:106) [ERROR] Caused by: java.lang.InterruptedException: Too many errors [ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:600) [ERROR] ... 4 more {code} I guess that's happening because in the *Packaging application* part of the build process you can see that the *android.support.v7.appcompat* lib is already included there by default, but the thing is... Hyperloop doesn't know / doesn't have access to it without without the Hyperloop wrappers that are generated beneath */build/hyperloop/js*. {code:java} INFO] Packaging application: /Users/rodolfo/Documents/Development/android-sdk-macosx/build-tools/23.0.3/aapt "package" "-f" "-m" "-J" "/Users/rodolfo/Documents/Workspace/loopmodules-appintro/build/android/gen" "-M" "/Users/rodolfo/Documents/Workspace/loopmodules-appintro/build/android/AndroidManifest.xml" "-A" "/Users/rodolfo/Documents/Workspace/loopmodules-appintro/build/android/bin/assets" "-S" "/Users/rodolfo/Documents/Workspace/loopmodules-appintro/build/android/res" "-I" "/Users/rodolfo/Documents/Development/android-sdk-macosx/platforms/android-23/android.jar" "-F" "/Users/rodolfo/Documents/Workspace/loopmodules-appintro/build/android/bin/app.ap_" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview:com.github.paolorotolo.appintro" "-S" "/var/folders/6g/x4xgj0gn17z2nhk3v4n01mhw0000gn/T/116627-19422-1re5chr/res" "-S" "/var/folders/6g/x4xgj0gn17z2nhk3v4n01mhw0000gn/T/116627-19422-6esb5c/res" "-S" "/var/folders/6g/x4xgj0gn17z2nhk3v4n01mhw0000gn/T/116627-19422-jzgxx0/res" "-S" "/Users/rodolfo/Documents/Workspace/loopmodules-appintro/build/hyperloop/android/appintro-4.0.0/res" {code} Kiat asked me to try running the app with the latest 6.0.0 build, but the app won't even open: {code:java} [ERROR] TiApplication: (main) [33,356] Sending event: exception on thread: main msg:java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found; Titanium 6.0.0,2016/07/26 20:28,undefined [ERROR] TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found [ERROR] TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:371) [ERROR] TiApplication: at java.lang.System.loadLibrary(System.java:988) [ERROR] TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:151) [ERROR] TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:118) [ERROR] TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205) [ERROR] TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114) [ERROR] TiApplication: at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:136) [ERROR] TiApplication: at com.loopmodules.appintro.LoopmodulesAppintroApplication.onCreate(LoopmodulesAppintroApplication.java:46) [ERROR] TiApplication: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012) [ERROR] TiApplication: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4553) [ERROR] TiApplication: at android.app.ActivityThread.access$1500(ActivityThread.java:151) [ERROR] TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364) [ERROR] TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] TiApplication: at android.os.Looper.loop(Looper.java:135) [ERROR] TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5254) [ERROR] TiApplication: at java.lang.reflect.Method.invoke(Native Method) [ERROR] TiApplication: at java.lang.reflect.Method.invoke(Method.java:372) [ERROR] TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) [ERROR] TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) [ERROR] E/NetworkScheduler.SR( 3015): Invalid parameter app [ERROR] E/NetworkScheduler.SR( 3015): Invalid package name : Perhaps you didn't include a PendingIntent in the extras? [ERROR] Error: invalid session at makeError (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/lib/auth.js:87:14) at /Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/lib/auth.js:256:21 at Request._callback (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/lib/index.js:354:11) at Request.self.callback (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/request/request.js:187:22) at emitTwo (events.js:87:13) at Request.emit (events.js:172:7) at Request.<anonymous> (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/request/request.js:1044:10) at emitOne (events.js:77:13) at Request.emit (events.js:169:7) at IncomingMessage.<anonymous> (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/request/request.js:965:12) at emitNone (events.js:72:20) at IncomingMessage.emit (events.js:166:7) at endReadableNT (_stream_readable.js:921:12) --------------------------------------------- at Request.init (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/request/request.js:190:10) at new Request (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/request/request.js:129:8) at request (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/request/index.js:55:10) at Function.get (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/request/index.js:63:12) at _createRequest (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/lib/index.js:429:39) at Function.AppC.createRequest (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/lib/index.js:387:9) at /Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/lib/auth.js:251:8 at /Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/node_modules/async/lib/async.js:251:17 at /Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/node_modules/async/lib/async.js:154:25 at /Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/node_modules/async/lib/async.js:248:21 at /Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/node_modules/async/lib/async.js:612:34 at /Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/appc-platform-sdk/lib/auth.js:110:3 at next (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/tough-cookie/lib/cookie.js:994:9) at MemoryCookieStore.putCookie (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/tough-cookie/lib/memstore.js:118:3) at withCookie (/Users/rodolfo/.appcelerator/install/5.4.0-31/package/node_modules/tough-cookie/lib/cookie.js:1013:13) --------------------------------------------- at Object.setImmediate (/Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:194:9) at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:272:35 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:44:16 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:723:17 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:167:37 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/android/cli/hooks/run.js:400:7 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:718:13 at iterate (/Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:262:13) at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:274:29 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:44:16 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:723:17 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:167:37 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:52:16 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:269:32 at /Users/rodolfo/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.v20160726202757/node_modules/async/lib/async.js:44:16 {code}

    Appcelerator JIRA | 10 months ago | Rodolfo Perottoni
    java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Seems like it needs to be recompiled for SDK 6.0.0

    GitHub | 6 months ago | annakozy2011
    java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found
  6. 0

    Crash with 6.0.3 GA & Android 6.0.1

    GitHub | 2 months ago | antonioduran
    java.lang.UnsatisfiedLinkError: dlopen failed: library "libstlport_shared.so" not found
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    dlopen failed: library "libstlport_shared.so" not found

    at java.lang.Runtime.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:371)
    2. java.lang.System.loadLibrary(System.java:988)
    2 frames
  3. org.appcelerator.kroll
    KrollRuntime.init
    1. org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:151)
    2. org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:118)
    3. org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205)
    4. org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114)
    5. org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:136)
    5 frames
  4. au.com.MotorMouth
    AppAndroidApplication.onCreate
    1. au.com.MotorMouth.MotorMouth.AppAndroidApplication.onCreate(AppAndroidApplication.java:55)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
    2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4553)
    3. android.app.ActivityThread.access$1500(ActivityThread.java:151)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)
    5. android.os.Handler.dispatchMessage(Handler.java:102)
    6. android.os.Looper.loop(Looper.java:135)
    7. android.app.ActivityThread.main(ActivityThread.java:5254)
    7 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames