java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.techintegrity.ekko-1/lib/arm/libti.admob.so: has text relocations

Stack Overflow | user3281831 | 4 months ago
  1. 0

    readlink('/proc/self/fd/21') failed: Permission denied [fd=21] error in Android 6 after adding Admob module to Appcelerator app

    Stack Overflow | 4 months ago | user3281831
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.techintegrity.ekko-1/lib/arm/libti.admob.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 | 8 months 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 | 8 months 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 | 7 months 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

    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 | 8 months ago | Gabriel Stoppini
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.mypackage-2/lib/arm/libti.inappbilling.so: has text relocations

  1. filpgame 1 times, last 1 month ago
  2. rp 3 times, last 1 month ago
  3. franky li 4 times, last 1 month ago
  4. ajinkya_w 21 times, last 1 month ago
  5. serious2monkeys 14 times, last 1 week ago
26 more registered users
69 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.techintegrity.ekko-1/lib/arm/libti.admob.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