该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
如图:
W: Could not find sources
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktoolx/aapt4.2, p, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-I9500XXUBMG9, -F, /data/data/per.pqy.apktool/APKTOOL943140577523194304.tmp, -x, -0, arsc, -S, /storage/sdcard0/framework-res_src/res, -M, /storage/sdcard0/framework-res_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
at brut.androlib.Androlib.buildResources(Androlib.java:362)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktoolx/aapt4.2, p, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-I9500XXUBMG9, -F, /data/data/per.pqy.apktool/APKTOOL943140577523194304.tmp, -x, -0, arsc, -S, /storage/sdcard0/framework-res_src/res, -M, /storage/sdcard0/framework-res_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktoolx/aapt4.2, p, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-I9500XXUBMG9, -F, /data/data/per.pqy.apktool/APKTOOL943140577523194304.tmp, -x, -0, arsc, -S, /storage/sdcard0/framework-res_src/res, -M, /storage/sdcard0/framework-res_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:475)
... 6 more
Caused by: java.io.IOException: Cannot run program "/data/data/per.pqy.apktoolx/aapt4.2": 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.(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
... 10 more
I: Using Apktool 2.0.0-Beta7 on framework-res_src
I: Building resources...
应该是这句出现了问题:Caused by: java.io.IOException: Cannot run program "/data/data/per.pqy.apktoolx/aapt4.2": error=13, Permission denied 请大神解决一下