java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.mypackage-2/lib/arm/libti.inappbilling.so: has text relocations

Appcelerator JIRA | Gabriel Stoppini | 1 year 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

    I am trying to compile my project using the mentioned environment plus: * [ti.permissions|http://gitt.io/component/ti.permissions] v0.5 module, * The titanium.jar file available on https://github.com/AppWerft/Tierstimmenarchiv/tree/master/modules/android and put into the folder Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/android/. The two items above were suggested on this issue: https://jira.appcelerator.org/browse/TIMOB-20320 . After compiling the code I get the following error when the app is about to open on a device running Android 6: [ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19] [INFO] : TiApplication: (main) [184,314] Titanium Javascript runtime: v8 [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libstlport_shared.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libkroll-v8.so". Will use given name. [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [WARN] : TiTempFileHelper: (main) [29,29 [WARN] : V8Object: (KrollRuntimeThread) [99,128] Runtime disposed, cannot set property 'userAgent' [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libti.permissions.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libti.imagefactory.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libtjatse.photo.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libti.inappbilling.so". Will use given name. [ERROR] : TiApplication: (KrollRuntimeThread) [71,199] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.mypackage-2/lib/arm/libti.inappbilling.so: has text relocations; Titanium 5.2.0,2016/02/20 08:05,384775e [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.mypackage-2/lib/arm/libti.inappbilling.so: has text relocations [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:372) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:1076) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114) [INFO] : Process: Sending signal. PID: 11706 SIG: 9 But when running using the same environment but on an Android 5 device no error is raised.

    Appcelerator JIRA | 1 year ago | Gabriel Stoppini
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.mypackage-2/lib/arm/libti.inappbilling.so: has text relocations
  2. 0

    I am trying to compile my project using the mentioned environment plus: * [ti.permissions|http://gitt.io/component/ti.permissions] v0.5 module, * The titanium.jar file available on https://github.com/AppWerft/Tierstimmenarchiv/tree/master/modules/android and put into the folder Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/android/. The two items above were suggested on this issue: https://jira.appcelerator.org/browse/TIMOB-20320 . After compiling the code I get the following error when the app is about to open on a device running Android 6: [ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19] [INFO] : TiApplication: (main) [184,314] Titanium Javascript runtime: v8 [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libstlport_shared.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libkroll-v8.so". Will use given name. [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [WARN] : TiTempFileHelper: (main) [29,29 [WARN] : V8Object: (KrollRuntimeThread) [99,128] Runtime disposed, cannot set property 'userAgent' [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libti.permissions.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libti.imagefactory.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libtjatse.photo.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-2/lib/arm/libti.inappbilling.so". Will use given name. [ERROR] : TiApplication: (KrollRuntimeThread) [71,199] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.mypackage-2/lib/arm/libti.inappbilling.so: has text relocations; Titanium 5.2.0,2016/02/20 08:05,384775e [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.mypackage-2/lib/arm/libti.inappbilling.so: has text relocations [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:372) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:1076) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114) [INFO] : Process: Sending signal. PID: 11706 SIG: 9 But when running using the same environment but on an Android 5 device no error is raised.

    Appcelerator JIRA | 1 year ago | Gabriel Stoppini
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.mypackage-2/lib/arm/libti.inappbilling.so: has text relocations
  3. 0

    GitHub comment 14#212411875

    GitHub | 1 year ago | spudz000
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.XXX.XXX/lib/arm/libti.inappbilling.so: has text relocations
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TiApplication: (KrollRuntimeThread) [44,147] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed

    Stack Overflow | 1 year ago | Chandan Prakash Sharma
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.ityug.gstanduppoker-2/lib/arm/libti.sq.so: has text relocations
  6. 0

    Hello , I 'm developing a propitiation for ios and android but when I compile the application , do the test fails when a real device Motorola G with android 6.0 Error: [INFO] : TiApplication: (main) [4,4] checkpoint, app created. [INFO] : TiApplication: (main) [110,114] Titanium 5.2.2 (2016/03/28 14:12 b685ddb) [INFO] : TiApplication: (main) [104,218] Titanium Javascript runtime: v8 [ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19] [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.bea.paypal-1/lib/arm/libstlport_shared.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.bea.paypal-1/lib/arm/libkroll-v8.so". Will use given name. [WARN] : TiTempFileHelper: (main) [27,27] The external temp directory doesn't exist, skipping cleanup [WARN] : V8Object: (KrollRuntimeThread) [230,257] Runtime disposed, cannot set property 'userAgent' [ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.bea.paypal-1/lib/arm/libti.paypal.so". Will use given name. [ERROR] : TiApplication: (KrollRuntimeThread) [65,322] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.bea.paypal-1/lib/arm/libti.paypal.so: has text relocations; Titanium 5.2.2,2016/03/28 14:12,b685ddb [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.bea.paypal-1/lib/arm/libti.paypal.so: has text relocations [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:372) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:1076) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114) [TRACE] : updating tiapp metadata with Appcelerator Platform... [TRACE] : Uploaded tiapp metadata with Appcelerator Platform! [INFO] : Process: Sending signal. PID: 9677 SIG: 9

    Appcelerator JIRA | 11 months ago | Eduardo Olvera
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.bea.paypal-1/lib/arm/libti.paypal.so: has text relocations

  1. iferca 1 times, last 3 months ago
  2. filpgame 1 times, last 3 months ago
  3. Adrien 6 times, last 3 months ago
  4. PKeidel 9 times, last 4 months ago
  5. rafael 3 times, last 3 months ago
32 more registered users
63 unregistered visitors
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: /data/app/com.mypackage-2/lib/arm/libti.inappbilling.so: has text relocations

    at java.lang.Runtime.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:372)
    2. java.lang.System.loadLibrary(System.java:1076)
    2 frames
  3. org.appcelerator.kroll
    KrollRuntime$KrollRuntimeThread.run
    1. org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)
    2. org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)
    3. org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205)
    4. org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114)
    4 frames