[Android-development] More weird android lib issues, permission issue with libgnustl_shared.so

BogDan bog_dan_ro at yahoo.com
Mon Sep 29 10:40:41 CEST 2014


Hi,

  Well, it seems that on KitKat 4.4.2 some genius added "/data/local/tmp/" path to some blacklist that can't be used to load libs ...

Sadly, in this moment, I don't see what we can do to fix it ...

Cheers,
BogDan.


----- Original Message -----
From: Harri Pasanen <harri at mpaja.com>
To: "android-development at qt-project.org" <android-development at qt-project.org>
Cc: 
Sent: Friday, September 26, 2014 6:26 PM
Subject: [Android-development] More weird android lib issues,	permission issue with libgnustl_shared.so



I'm unable to run with libraries deployed to tmp directory, getting this 
permission problem:


W/System.err(25474): Caused by: java.lang.UnsatisfiedLinkError: dlopen 
failed: couldn't map "/data/local/tmp/qt/lib/libgnustl_shared.so" 
segment 2: Permission denied


This is on Samsung S4 mini, KitKat 4.4.2


On Nexus 7 2013, KitKat 4.4.4 I don't get the above error.


When I check Bundle Qt libraries to APK, then both devices work.



Harri

_______________________________________________
Android-development mailing list
Android-development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/android-development




More information about the Android-development mailing list