Post Reply

[Q]APKTool Doesn't load libraries

OP DannyGM16

23rd August 2014, 11:07 PM   |  #1  
DannyGM16's Avatar
OP Senior Member
Thanks Meter: 13
 
148 posts
Join Date:Joined: Jul 2013
Hi!
First of all I need to say that my english is little poor but I hope you can understand me :P

I running the apktool run on android version and it's the first time I have this problem.

My first problem was "sh: applet not found" error that I'd solved setting the apktool data folder xD

The second problem was the error "/data/data/per.pqy.apktool/mydata/apktool2.sh: line6: /data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armhf/jre/bin/java: Permission denied" that I don't remember how I solved it hahaha

And the last (and bigger) problem was "/data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armel/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory" or with other libraries. I can't solve this error :'(

I solved it changing some things in the apktool source code but I don't remember how I did it. Anyway I found the error, my phone doesn't load the libraries in /data/data/per.pqy.apktool/lix with LD_LIBRARY_PATH.

Some help will be very good!!


Enviado desde mi GT-S7580 mediante Tapatalk
Last edited by DannyGM16; 23rd August 2014 at 11:10 PM.
24th August 2014, 01:52 AM   |  #2  
DannyGM16's Avatar
OP Senior Member
Thanks Meter: 13
 
148 posts
Join Date:Joined: Jul 2013
Please!

Enviado desde mi GT-S7580 mediante Tapatalk
24th August 2014, 04:43 AM   |  #3  
Junior Member
Thanks Meter: 7
 
21 posts
Join Date:Joined: Mar 2014
Quote:
Originally Posted by DannyGM16

Hi!
First of all I need to say that my english is little poor but I hope you can understand me :P

I running the apktool run on android version and it's the first time I have this problem.

My first problem was "sh: applet not found" error that I'd solved setting the apktool data folder xD

The second problem was the error "/data/data/per.pqy.apktool/mydata/apktool2.sh: line6: /data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armhf/jre/bin/java: Permission denied" that I don't remember how I solved it hahaha

And the last (and bigger) problem was "/data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armel/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory" or with other libraries. I can't solve this error :'(

I solved it changing some things in the apktool source code but I don't remember how I did it. Anyway I found the error, my phone doesn't load the libraries in /data/data/per.pqy.apktool/lix with LD_LIBRARY_PATH.

Some help will be very good!!


Enviado desde mi GT-S7580 mediante Tapatalk

update apktool,i m using it since many months without a single problem
24th August 2014, 09:07 AM   |  #4  
DannyGM16's Avatar
OP Senior Member
Thanks Meter: 13
 
148 posts
Join Date:Joined: Jul 2013
I have the last version (4.4.1) of the apktook app, and it is the version that is giving me that problems.
I've also used 4.3, that doesn't give me errors, but It doesn't recompile, when it is recompiling the resources it says: "Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [...]"

Any solution?



Enviado desde mi GT-S7580 mediante Tapatalk
24th August 2014, 09:30 AM   |  #5  
zelendel's Avatar
Moderator Committee - The Dark Knight
Flag Watching from the Shadows
Thanks Meter: 11,245
 
14,667 posts
Join Date:Joined: Aug 2008
Donate to Me
More
You have to remember that the mobile apktool won't always work. It is even advised by the apktool device not to use the app and to use the real apktool.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank