Open GoogleCodeExporter opened 8 years ago
Have you rooted?
Original comment by dongfangxunlei@gmail.com
on 3 Jan 2014 at 2:33
Yes, I'm rooted.
I add that I tried to recompile apks that I didn't modify at all, just
to make sure that the problem didn't come from modifications. But even
unmodified apks don't recompile...
Original comment by les.peti...@gmail.com
on 4 Jan 2014 at 12:16
Can you provide the permission of these files?
/data/data/per.pqy.apktool/lix/aapt4.4
/data/data/per.pqy.apktool/lix/aapt/4.3
Are they executable?
Original comment by dongfangxunlei@gmail.com
on 5 Jan 2014 at 6:36
There is no aapt4.4 or aapt4.3, but aapt.
On apktool 4.2 it has rwx, rx, rx
On apktool 4.4 it has rwx, rx, rx
I have changed the perms to rwx, rwx, rwx, but it still doesn't work...
Original comment by les.peti...@gmail.com
on 7 Jan 2014 at 11:07
Sorry,it is very hard to find out the problem with so little information.
Original comment by dongfangxunlei@gmail.com
on 7 Jan 2014 at 12:23
What information do you need? A logcat?
The problem comes from the fact that access to the /data folder is denied...
Original comment by les.peti...@gmail.com
on 8 Jan 2014 at 5:48
your /data folder has no execute bit? Isn't it 0771?
Original comment by dongfangxunlei@gmail.com
on 12 Jan 2014 at 8:26
Sorry to reply late, it's my secondary email and I had forgotten about
the whole story, I have been busy with other stuff.
My database folder has all the permissions.
I paste you what happens when I try to recompile...
I: Smaling...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException:
brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [/data/data/per.pqy.apktool/lix/aapt, p,
--min-sdk-version, 14, --target-sdk-version, 17, -F,
/data/data/per.pqy.apktool/APKTOOL4234900943193098141.tmp, -0, arsc,
-I, ?/apktool/framework/1.apk, -S,
/sdcard/download/com.zst.xposed.halo.floatingwindow
_v222_a56223_src/res, -M,
/sdcard/download/com.zst.xposed.halo.floatingwindow
_v222_a56223_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException:
could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p,
--min-sdk-version, 14, --target-sdk-version, 17, -F,
/data/data/per.pqy.apktool/APKTOOL4234900943193098141.tmp, -0, arsc,
-I, ?/apktool/framework/1.apk, -S,
/sdcard/download/com.zst.xposed.halo.floatingwindow
_v222_a56223_src/res, -M,
/sdcard/download/com.zst.xposed.halo.floatingwindow
_v222_a56223_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command:
[/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 14,
--target-sdk-version, 17, -F,
/data/data/per.pqy.apktool/APKTOOL4234900943193098141.tmp, -0, arsc,
-I, ?/apktool/framework/1.apk, -S,
/sdcard/download/com.zst.xposed.halo.floatingwindow
_v222_a56223_src/res, -M,
/sdcard/download/com.zst.xposed.halo.floatingwindow
_v222_a56223_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Caused by: java.io.IOException: Cannot run program
"/data/data/per.pqy.apktool/lix/aapt": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
at java.lang.Runtime.exec(Runtime.java:615)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
... 10 more
Original comment by les.peti...@gmail.com
on 9 Mar 2014 at 9:21
I m also facing same problem
Original comment by maulin6...@gmail.com
on 5 Apr 2014 at 8:10
I have the same error.
I am on 4.4.2 with ATT galaxy S3, rooted and unlocked.
my /data folder is empty?
Original comment by pence.b...@gmail.com
on 29 Jun 2014 at 5:16
I also same problem
Original comment by see.suu...@gmail.com
on 28 Mar 2015 at 7:26
Original issue reported on code.google.com by
les.peti...@gmail.com
on 2 Jan 2014 at 5:48