Mobile apktool problem - General Questions and Answers

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...

Related

[Q] [HELP] compiling phone.apk

Hello. I want to add new translate values (values-cs) into apk/res/. When decompiling phone.apk with APKtool and compiling back, errors are displayed.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\honza\AppData\Local\Temp\APKTOOL4761630175119024446.tmp, -0, arsc, -I, C:\Users\honza\apktool\framework\1.apk, -S, C:\apk3\tools\..\temp\Phone.apk\res, -M, C:\apk3\tools\..\temp\Phone.apk\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: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\honza\AppData\Local\Temp\APKTOOL4761630175119024446.tmp, -0, arsc, -I, C:\Users\honza\apktool\framework\1.apk, -S, C:\apk3\tools\..\temp\Phone.apk\res, -M, C:\apk3\tools\..\temp\Phone.apk\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: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\honza\AppData\Local\Temp\APKTOOL4761630175119024446.tmp, -0, arsc, -I, C:\Users\honza\apktool\framework\1.apk, -S, C:\apk3\tools\..\temp\Phone.apk\res, -M, C:\apk3\tools\..\temp\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
My phone.apk is here: suprweb.cz/Phone.apk
I set framework SystemUI.apk and framework-res.apk
Compile of other applications is fine.
Advise anyone?
If you install framework-res.apk and decompile systemUI.apk is ok, but the compilation fails:
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\honza\AppData\Local\Temp\APKTOOL5469254885478948063.tmp, -0, arsc, -I, C:\Users\honza\apktool\framework\1.apk, -S, C:\apk3\tools\..\temp\Phone.apk\res, -M, C:\apk3\tools\..\temp\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
Only with the phone.apk
Any idea? Thanks

[Completed] apktool always gives me error on recompiling apks...please help.

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

[Completed] ApkTOOl recompiling error

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

Apktool Recompiling Error

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...
.
.

cant recompile framework-res ( oreo renovate ice )

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...

Categories

Resources