Hi, i'm having problems trying to recompile apk files with apktool....heres what i get....
┌─[root>InComplete]─[~/Desktop/pay]
└──╼ $ apktool b fb -o fb.apk
00:26:08 up 2:29, 2 users, load average: 0.02, 0.23, 0.30
USER TTY FROM [email protected] IDLE JCPU PCPU WHAT
root tty2 :0 22:00 2:29m 16:47 2:33 firefox-esr
root pts/0 InComplete 22:00 2:25m 0.02s 0.02s /bin/bash
I: Using Apktool 2.1.1-dirty
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: aapt: tools/aapt/Images.cpp:811: void checkNinePatchSerialization(android::Res_png_9patch*, void*): Assertion `outPatch->getXDivs() == inPatch->getXDivs()' failed.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 134): [/usr/bin/aapt, p, --min-sdk-version, 15, --target-sdk-version, 23, --version-code, 30034615, --version-name, 77.0.0.20.66, -F, /tmp/APKTOOL2364074081133783891.tmp, -0, FBSIG, -0, md5, -0, js, -0, assets/js-modules/UNBUNDLE, -0, xzs, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /root/Desktop/pay/fb/res, -M, /root/Desktop/pay/fb/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:371)
at brut.androlib.Androlib.build(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 134): [/usr/bin/aapt, p, --min-sdk-version, 15, --target-sdk-version, 23, --version-code, 30034615, --version-name, 77.0.0.20.66, -F, /tmp/APKTOOL2364074081133783891.tmp, -0, FBSIG, -0, md5, -0, js, -0, assets/js-modules/UNBUNDLE, -0, xzs, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /root/Desktop/pay/fb/res, -M, /root/Desktop/pay/fb/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:436)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 134): [/usr/bin/aapt, p, --min-sdk-version, 15, --target-sdk-version, 23, --version-code, 30034615, --version-name, 77.0.0.20.66, -F, /tmp/APKTOOL2364074081133783891.tmp, -0, FBSIG, -0, md5, -0, js, -0, assets/js-modules/UNBUNDLE, -0, xzs, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /root/Desktop/pay/fb/res, -M, /root/Desktop/pay/fb/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:430)
... 6 more
i installed the framework-res.apk, SystemUI.apk, twframework-res.apk..........but this never seems to work.......but the decompiling is okay....
is this an error of the resources....coz when i use no res switch the recompiling is okay....but app fails to install via adb [INVALID_APK] error..
PLEASE help....Thanks,
XDA Visitor said:
Hi, i'm having problems trying to recompile apk files with apktool....heres what i get....
┌─[root>InComplete]─[~/Desktop/pay]
└──╼ $ apktool b fb -o fb.apk
00:26:08 up 2:29, 2 users, load average: 0.02, 0.23, 0.30
USER TTY FROM [email protected] IDLE JCPU PCPU WHAT
root tty2 :0 22:00 2:29m 16:47 2:33 firefox-esr
root pts/0 InComplete 22:00 2:25m 0.02s 0.02s /bin/bash
I: Using Apktool 2.1.1-dirty
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: aapt: tools/aapt/Images.cpp:811: void checkNinePatchSerialization(android::Res_png_9patch*, void*): Assertion `outPatch->getXDivs() == inPatch->getXDivs()' failed.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 134): [/usr/bin/aapt, p, --min-sdk-version, 15, --target-sdk-version, 23, --version-code, 30034615, --version-name, 77.0.0.20.66, -F, /tmp/APKTOOL2364074081133783891.tmp, -0, FBSIG, -0, md5, -0, js, -0, assets/js-modules/UNBUNDLE, -0, xzs, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /root/Desktop/pay/fb/res, -M, /root/Desktop/pay/fb/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:371)
at brut.androlib.Androlib.build(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 134): [/usr/bin/aapt, p, --min-sdk-version, 15, --target-sdk-version, 23, --version-code, 30034615, --version-name, 77.0.0.20.66, -F, /tmp/APKTOOL2364074081133783891.tmp, -0, FBSIG, -0, md5, -0, js, -0, assets/js-modules/UNBUNDLE, -0, xzs, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /root/Desktop/pay/fb/res, -M, /root/Desktop/pay/fb/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:436)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 134): [/usr/bin/aapt, p, --min-sdk-version, 15, --target-sdk-version, 23, --version-code, 30034615, --version-name, 77.0.0.20.66, -F, /tmp/APKTOOL2364074081133783891.tmp, -0, FBSIG, -0, md5, -0, js, -0, assets/js-modules/UNBUNDLE, -0, xzs, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /root/Desktop/pay/fb/res, -M, /root/Desktop/pay/fb/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:430)
... 6 more
i installed the framework-res.apk, SystemUI.apk, twframework-res.apk..........but this never seems to work.......but the decompiling is okay....
is this an error of the resources....coz when i use no res switch the recompiling is okay....but app fails to install via adb [INVALID_APK] error..
PLEASE help....Thanks,
Click to expand...
Click to collapse
Hello,
Please register for a XDA account to post and reply in the forums.
You may try posting your query here APKTool with all relevant details, the experts there maybe able to assist you.
-Vatsal
Related
Hello curretnly i am trying to mod my SomcPhone.apk so that the Call Settings are white Problem is i get this error while recompiling and i dont really know whta this means so if someone could help i would be very thankfull !
Log For : SomcPhone.apk
Log Type : Recompiling
Log Recorded At : 10.01.2015 -- 16:51:19,02
Log Recorded By : Advanced ApkTool v4.0.0 By BDFreak
------------------------------------------------------
C:\Users\Mirko\Desktop\AdvancedApkTool\3-Out\SomcPhone.apk\res\values\styles.xml:181: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Spinner.DropDown'.
C:\Users\Mirko\Desktop\AdvancedApkTool\3-Out\SomcPhone.apk\res\values\styles.xml:185: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.Holo.Spinner.DropDown'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Mirko\AppData\Local\Temp\brut_util_Jar_653497118236282026.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-Android.1011, -F, C:\Users\Mirko\AppData\Local\Temp\APKTOOL3484491687249777845.tmp, -0, arsc, -I, C:\Users\Mirko\Desktop\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\Users\Mirko\Desktop\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\Users\Mirko\Desktop\AdvancedApkTool\3-Out\SomcPhone.apk\res, -M, C:\Users\Mirko\Desktop\AdvancedApkTool\3-Out\SomcPhone.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:449)
at brut.androlib.Androlib.buildResources(Androlib.java:383)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Mirko\AppData\Local\Temp\brut_util_Jar_653497118236282026.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-Android.1011, -F, C:\Users\Mirko\AppData\Local\Temp\APKTOOL3484491687249777845.tmp, -0, arsc, -I, C:\Users\Mirko\Desktop\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\Users\Mirko\Desktop\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\Users\Mirko\Desktop\AdvancedApkTool\3-Out\SomcPhone.apk\res, -M, C:\Users\Mirko\Desktop\AdvancedApkTool\3-Out\SomcPhone.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:487)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Mirko\AppData\Local\Temp\brut_util_Jar_653497118236282026.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-Android.1011, -F, C:\Users\Mirko\AppData\Local\Temp\APKTOOL3484491687249777845.tmp, -0, arsc, -I, C:\Users\Mirko\Desktop\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\Users\Mirko\Desktop\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\Users\Mirko\Desktop\AdvancedApkTool\3-Out\SomcPhone.apk\res, -M, C:\Users\Mirko\Desktop\AdvancedApkTool\3-Out\SomcPhone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)
... 6 more
------------------------------------------------------
Click to expand...
Click to collapse
Look in values folder..styles.xml...The style you're written is not present in framework-res.apk..Change that style to something else..
STRYDER~007 said:
Look in values folder..styles.xml...The style you're written is not present in framework-res.apk..Change that style to something else..
Click to expand...
Click to collapse
Could you give me an example for an style
When i was go to recompile setting.apk then take few second & show this text...
W: Could not find sources
ERROR: Asset package include '/data/data/per.pqy.apktool/1.apk' not found.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1, p, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-19, -F, /data/data/per.pqy.apktool/APKTOOL4692471525828189661.tmp, -0, resources.arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/New folder/Settings_src/res, -M, /sdcard/New folder/Settings_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:465)
at brut.androlib.Androlib.buildResources(Androlib.java:403)
at brut.androlib.Androlib.build(Androlib.java:291)
at brut.androlib.Androlib.build(Androlib.java:261)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1, p, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-19, -F, /data/data/per.pqy.apktool/APKTOOL4692471525828189661.tmp, -0, resources.arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/New folder/Settings_src/res, -M, /sdcard/New folder/Settings_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:425)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:451)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1, p, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-19, -F, /data/data/per.pqy.apktool/APKTOOL4692471525828189661.tmp, -0, resources.arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/New folder/Settings_src/res, -M, /sdcard/New folder/Settings_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
... 6 more
I: Using Apktool 2.0.2
I: Building resources...
Please help! what can i do for solve this problem??
My device is symphony v85
Os:5.1 lolipop
Cheapset:sc7731
Please help!!!!
XDA Visitor said:
When i was go to recompile setting.apk then take few second & show this text...
W: Could not find sources
ERROR: Asset package include '/data/data/per.pqy.apktool/1.apk' not found.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1, p, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-19, -F, /data/data/per.pqy.apktool/APKTOOL4692471525828189661.tmp, -0, resources.arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/New folder/Settings_src/res, -M, /sdcard/New folder/Settings_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:465)
at brut.androlib.Androlib.buildResources(Androlib.java:403)
at brut.androlib.Androlib.build(Androlib.java:291)
at brut.androlib.Androlib.build(Androlib.java:261)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1, p, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-19, -F, /data/data/per.pqy.apktool/APKTOOL4692471525828189661.tmp, -0, resources.arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/New folder/Settings_src/res, -M, /sdcard/New folder/Settings_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:425)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:451)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.1, p, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-19, -F, /data/data/per.pqy.apktool/APKTOOL4692471525828189661.tmp, -0, resources.arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/New folder/Settings_src/res, -M, /sdcard/New folder/Settings_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
... 6 more
I: Using Apktool 2.0.2
I: Building resources...
Please help! what can i do for solve this problem
My device is symphony v85
Os:5.1 lolipop
Cheapset:sc7731
Please help!!!!
Click to expand...
Click to collapse
Hello,
Please post your query here APKTool with all relevant details, the experts there maybe able to assist you.
Also you may register for XDA account to post and reply in the forum.
-Vatsal
Hey Everyone..
I'm facing This problem when i try to recompile .apk please help..
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 13, --target-sdk-version, 23, --version-code, 1170000102, --version-name, 1.8.4.nightly.20160125, -F, /data/data/per.pqy.apktool/APKTOOL7938796299526703254.tmp, -0, arsc, -0, so, -0, txt, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/apktool/A/MX-Player-Pro_1.8.4 AndroidSwift_src/res, -M, /sdcard/apktool/A/MX-Player-Pro_1.8.4 AndroidSwift_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:371)
at brut.androlib.Androlib.build(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 13, --target-sdk-version, 23, --version-code, 1170000102, --version-name, 1.8.4.nightly.20160125, -F, /data/data/per.pqy.apktool/APKTOOL7938796299526703254.tmp, -0, arsc, -0, so, -0, txt, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/apktool/A/MX-Player-Pro_1.8.4 AndroidSwift_src/res, -M, /sdcard/apktool/A/MX-Player-Pro_1.8.4 AndroidSwift_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:436)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 13, --target-sdk-version, 23, --version-code, 1170000102, --version-name, 1.8.4.nightly.20160125, -F, /data/data/per.pqy.apktool/APKTOOL7938796299526703254.tmp, -0, arsc, -0, so, -0, txt, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/apktool/A/MX-Player-Pro_1.8.4 AndroidSwift_src/res, -M, /sdcard/apktool/A/MX-Player-Pro_1.8.4 AndroidSwift_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:97)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:430)
... 6 more
Caused by: java.io.IOException: Cannot run program "/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
at brut.util.OS.exec(OS.java:90)
... 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:187)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
... 8 more
I: Using Apktool 2.1.1-Black
I: Smaling smali folder into classes.dex...
I: Building resources...
.
.
I got this problem when trying to recompile
How do I solve it ?
W: Could not find sources
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --version-code, 1, --version-name, 1.0, -F, /data/data/per.pqy.apktool/APKTOOL2969457695255236036.tmp, -0, arsc, -0, qmg, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/extSdCard/Download/com.example.COGULBlack.common-com.example.COGULBlack.common-1-v1.0_src/res, -M, /storage/extSdCard/Download/com.example.COGULBlack.common-com.example.COGULBlack.common-1-v1.0_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478)
at brut.androlib.Androlib.buildResources(Androlib.java:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --version-code, 1, --version-name, 1.0, -F, /data/data/per.pqy.apktool/APKTOOL2969457695255236036.tmp, -0, arsc, -0, qmg, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/extSdCard/Download/com.example.COGULBlack.common-com.example.COGULBlack.common-1-v1.0_src/res, -M, /storage/extSdCard/Download/com.example.COGULBlack.common-com.example.COGULBlack.common-1-v1.0_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --version-code, 1, --version-name, 1.0, -F, /data/data/per.pqy.apktool/APKTOOL2969457695255236036.tmp, -0, arsc, -0, qmg, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/extSdCard/Download/com.example.COGULBlack.common-com.example.COGULBlack.common-1-v1.0_src/res, -M, /storage/extSdCard/Download/com.example.COGULBlack.common-com.example.COGULBlack.common-1-v1.0_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:97)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)
... 6 more
Caused by: java.io.IOException: Cannot run program "/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
at brut.util.OS.exec(OS.java:90)
... 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:186)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
... 8 more
I: Using Apktool 2.2.2-Black
I: Building resources...
this is the log
Recompiling "framework-res.apk" With Original Signature,
in work area "_WorkArea1", using "apktool_2.3.0.jar"
With Tickle My Android 15.0.0.0
(tinyurl.com\ticklemyandroid)
----------------
Installed Framework File(s):
framework-res.apk [1.apk]
----------------
I: Using Apktool 2.3.0
W: Could not find sources
I: Building resources...
W: C:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\res\values\styles.xml:2452: error: Resource entry Theme.DeviceDefault already has bag item dropdownListPreferredItemHeight.
W: C:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\res\values\styles.xml:2451: Originally defined here.
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\wings\AppData\Local\Temp\brut_util_Jar_5532533095960302884.tmp, p, --forced-package-id, 1, --min-sdk-version, 26, --target-sdk-version, 26, --version-code, 26, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\wings\AppData\Local\Temp\APKTOOL4868441450981723919.tmp, -x, -0, arsc, -0, arsc, -S, C:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\res, -M, C:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:485)
at brut.androlib.Androlib.buildResources(Androlib.java:419)
at brut.androlib.Androlib.build(Androlib.java:318)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:75)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\wings\AppData\Local\Temp\brut_util_Jar_5532533095960302884.tmp, p, --forced-package-id, 1, --min-sdk-version, 26, --target-sdk-version, 26, --version-code, 26, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\wings\AppData\Local\Temp\APKTOOL4868441450981723919.tmp, -x, -0, arsc, -0, arsc, -S, C:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\res, -M, C:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:454)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:471)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\wings\AppData\Local\Temp\brut_util_Jar_5532533095960302884.tmp, p, --forced-package-id, 1, --min-sdk-version, 26, --target-sdk-version, 26, --version-code, 26, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\wings\AppData\Local\Temp\APKTOOL4868441450981723919.tmp, -x, -0, arsc, -0, arsc, -S, C:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\res, -M, C:\TickleMyAndroid\_WorkArea1\_working\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:448)
... 6 more
----------------
Recompile Not Successful!
Press any key to continue . . .
Click to expand...
Click to collapse
found nothing certain on google.. what should I do
menace1337 said:
this is the log
found nothing certain on google.. what should I do
Click to expand...
Click to collapse
Open res/values/styles.xml
go to line 2451.
You will see both line 2451 and line 2452 are the same.
Delete one of them.
Recompile.
I did that. The recompile is successful, but I couldn't make the rom boot.
If you find a solution, please update.
same here...