java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.renr.manager-1/lib/arm/libti.sq.so: has text relocations

Appcelerator JIRA | Anna | 5 months ago
  1. 0

    Hello, I'm having this error on Android 6 permissions or modules, I don't know. I can't know what module or permission need the app because the libraries are form Titanium. This is my error: {code:java} [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [INFO] : TiApplication: (main) [0,0] checkpoint, app created. [INFO] : TiApplication: (main) [81,81] Titanium 5.4.0 (2016/04/25 22:10 63d6351) [ERROR] : linker: warning: unable to get realpath for the library "/system/lib/hw/gralloc.hi3635.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/22') failed: Permission denied [fd=22] [INFO] : DatabaseHelper: No value in database for platform key: 'unique_machine_id' returning supplied default '' [ERROR] : linker: warning: unable to get realpath for the library "libion.so". Will use given name. [ERROR] : HAL: load: id=gralloc != hmi->id=gralloc [INFO] : DatabaseHelper: No value in database for platform key: 'hardware_machine_id' returning supplied default '' [INFO] : TiApplication: (main) [383,464] Titanium Javascript runtime: v8 [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.renr.manager-1/lib/arm/libstlport_shared.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.renr.manager-1/lib/arm/libkroll-v8.so". Will use given name. [INFO] : HwCust: Constructor found for class android.app.HwCustHwWallpaperManagerImpl [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [WARN] : V8Object: (KrollRuntimeThread) [83,83] Runtime disposed, cannot set property 'userAgent' [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.renr.manager-1/lib/arm/libti.sq.so". Will use given name. [ERROR] : TiApplication: (KrollRuntimeThread) [39,122] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.renr.manager-1/lib/arm/libti.sq.so: has text relocations; Titanium 5.4.0,2016/04/25 22:10,63d6351 [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.renr.manager-1/lib/arm/libti.sq.so: has text relocations [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:384) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:1086) [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) {code} I'm cheking this permissions, but the error appear BEFORE this code is exectued: {code:java} exports.checkPermissions = function(){ var permissionsToRequest = []; // check WRITE_EXTERNAL_STORAGE permission var storagePermission = "android.permission.WRITE_EXTERNAL_STORAGE"; var hasStoragePermission = Ti.Android.hasPermission(storagePermission); if(!hasStoragePermission){ permissionsToRequest.push(storagePermission); } // check RECORD_AUDIO permission var audioPermission = "android.permission.RECORD_AUDIO"; var hasAudioPermission = Ti.Android.hasPermission(audioPermission); if(!hasAudioPermission){ permissionsToRequest.push(audioPermission); } // check ACCESS_NETWORK_STATE permission var networkPermission = "android.permission.ACCESS_NETWORK_STATE"; var hasNetworkPermission = Ti.Android.hasPermission(networkPermission); if(!hasNetworkPermission){ permissionsToRequest.push(networkPermission); } // check INTERNET permission var internetPermission = "android.permission.INTERNET"; var hasInternetPermission = Ti.Android.hasPermission(internetPermission); if(!hasInternetPermission){ permissionsToRequest.push(internetPermission); } // check ACCESS_COARSE_LOCATION permission var locationPermission = "android.permission.ACCESS_COARSE_LOCATION"; var hasLocationPermission = Ti.Android.hasPermission(locationPermission); if(!hasLocationPermission){ permissionsToRequest.push(locationPermission); } // check ACCESS_FINE_LOCATION permission var location2Permission = "android.permission.ACCESS_FINE_LOCATION"; var hasLocation2Permission = Ti.Android.hasPermission(location2Permission); if(!hasLocation2Permission){ permissionsToRequest.push(location2Permission); } // request permission Ti.Android.requestPermissions(permissionsToRequest, function(e) { if (e.success) { Ti.API.info("SUCCESS"); } else { Ti.API.info("ERROR: " + e.error); } }); }; {code}

    Appcelerator JIRA | 5 months ago | Anna
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.renr.manager-1/lib/arm/libti.sq.so: has text relocations
  2. 0

    My app works perfectly on Android under version 6, but on Android 6 this error appear when the app starts: It seems that si a problem in libraries or something like this. Device: Huawei P8 {code:java} [ERROR] : linker: readlink('/proc/self/fd/21') failed: Permission denied [fd=21] [INFO] : TiApplication: (main) [0,0] checkpoint, app created. [INFO] : TiApplication: (main) [116,116] Titanium 5.2.2 (2016/03/28 14:12 b685ddb) [ERROR] : linker: warning: unable to get realpath for the library "/system/lib/hw/gralloc.hi3635.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/21') failed: Permission denied [fd=21] [ERROR] : linker: warning: unable to get realpath for the library "libion.so". Will use given name. [ERROR] : HAL: load: id=gralloc != hmi->id=gralloc [INFO] : DatabaseHelper: No value in database for platform key: 'unique_machine_id' returning supplied default '' [INFO] : DatabaseHelper: No value in database for platform key: 'hardware_machine_id' returning supplied default '' [INFO] : TiApplication: (main) [153,269] Titanium Javascript runtime: v8 [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libstlport_shared.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libkroll-v8.so". Will use given name. [INFO] : HwCust: Constructor found for class android.app.HwCustHwWallpaperManagerImpl [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [WARN] : V8Object: (KrollRuntimeThread) [64,64] Runtime disposed, cannot set property 'userAgent' [WARN] : TiTempFileHelper: (main) [17,81] The external temp directory doesn't exist, skipping cleanup [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libanalytics.google.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libti.map.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libes.epi.comscore.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libcom.rkam.swiperefreshlayout.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libfacebook.so". Will use given name. [ERROR] : TiApplication: (KrollRuntimeThread) [48,129] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.epi.emporda-1/lib/arm/libfacebook.so: has text relocations; Titanium 5.2.2,2016/03/28 14:12,b685ddb [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.epi.emporda-1/lib/arm/libfacebook.so: has text relocations [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:384) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:1086) [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) {code}

    Appcelerator JIRA | 8 months ago | Anna
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.epi.emporda-1/lib/arm/libfacebook.so: has text relocations
  3. 0

    My app works perfectly on Android under version 6, but on Android 6 this error appear when the app starts: It seems that si a problem in libraries or something like this. Device: Huawei P8 {code:java} [ERROR] : linker: readlink('/proc/self/fd/21') failed: Permission denied [fd=21] [INFO] : TiApplication: (main) [0,0] checkpoint, app created. [INFO] : TiApplication: (main) [116,116] Titanium 5.2.2 (2016/03/28 14:12 b685ddb) [ERROR] : linker: warning: unable to get realpath for the library "/system/lib/hw/gralloc.hi3635.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/21') failed: Permission denied [fd=21] [ERROR] : linker: warning: unable to get realpath for the library "libion.so". Will use given name. [ERROR] : HAL: load: id=gralloc != hmi->id=gralloc [INFO] : DatabaseHelper: No value in database for platform key: 'unique_machine_id' returning supplied default '' [INFO] : DatabaseHelper: No value in database for platform key: 'hardware_machine_id' returning supplied default '' [INFO] : TiApplication: (main) [153,269] Titanium Javascript runtime: v8 [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libstlport_shared.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libkroll-v8.so". Will use given name. [INFO] : HwCust: Constructor found for class android.app.HwCustHwWallpaperManagerImpl [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [WARN] : V8Object: (KrollRuntimeThread) [64,64] Runtime disposed, cannot set property 'userAgent' [WARN] : TiTempFileHelper: (main) [17,81] The external temp directory doesn't exist, skipping cleanup [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libanalytics.google.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libti.map.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libes.epi.comscore.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libcom.rkam.swiperefreshlayout.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/es.epi.emporda-1/lib/arm/libfacebook.so". Will use given name. [ERROR] : TiApplication: (KrollRuntimeThread) [48,129] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.epi.emporda-1/lib/arm/libfacebook.so: has text relocations; Titanium 5.2.2,2016/03/28 14:12,b685ddb [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.epi.emporda-1/lib/arm/libfacebook.so: has text relocations [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:384) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:1086) [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) {code}

    Appcelerator JIRA | 8 months ago | Anna
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/es.epi.emporda-1/lib/arm/libfacebook.so: has text relocations
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Runtime Error

    GitHub | 2 years ago | asleson
    java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__cxa_end_cleanup" referenced by "libcom.tripvi.drawerlayout.so"...
  6. 0

    Could't load library with v8 runtime ?

    GitHub | 4 years ago | sylvainp
    java.lang.UnsatisfiedLinkError: Couldn't load net.bajawa.pager: findLibrary returned null

  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 2 months ago
  5. serious2monkeys 14 times, last 2 weeks 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/es.renr.manager-1/lib/arm/libti.sq.so: has text relocations

    at java.lang.Runtime.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:384)
    2. java.lang.System.loadLibrary(System.java:1086)
    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