can't recmpile framework-res - General Questions and Answers

hi I have this problem with this file
I can't recompile it even if I didnt do anything to it
I had installed all these JAVA
7 update 10
8 update 11
8 update 20
Java SE Development kit 8 update 11
Java SE Development kit 8 update 20
Java (TM) SE Development kit 6 update 1
Java (TM) SE Runtime Environment 6 Update 1 ..
It gives me this
W: Could not find sources
E:\4\3-Out\framework-res.apk\res\values-ar-rAE\arrays.xml:325: error: Error: No resource found that matches the given name (at '^index_321' with value '@drawable/ic_lockscreen_handle').
aapt: warning: string 'full_internal_storage_view_text' has no default translation in E:\4\3-Out\framework-res.apk\res; found: ar
aapt: warning: string 'permdesc_sendSmsNoConfirmation' has no default translation in E:\4\3-Out\framework-res.apk\res; found: es
aapt: warning: string 'permlab_sendSmsNoConfirmation' has no default translation in E:\4\3-Out\framework-res.apk\res; found: es
aapt: warning: string 'unsupportedMmiCode' has no default translation in E:\4\3-Out\framework-res.apk\res; found: ar es_US ko vi zh_CN
aapt: warning: string 'wifi_display_notification_message' has no default translation in E:\4\3-Out\framework-res.apk\res; found: ar es
aapt: warning: string 'wifi_display_notification_title' has no default translation in E:\4\3-Out\framework-res.apk\res; found: ar es
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\A5EC~1\AppData\Local\Temp\brut_util_Jar_5361813994344402281.tmp, p, --forced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-I535VRUDNE1, -F, C:\Users\A5EC~1\AppData\Local\Temp\APKTOOL4532311949921965490.tmp, -x, -0, arsc, -S, E:\4\3-Out\framework-res.apk\res, -M, E:\4\3-Out\framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\A5EC~1\AppData\Local\Temp\brut_util_Jar_5361813994344402281.tmp, p, --forced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-I535VRUDNE1, -F, C:\Users\A5EC~1\AppData\Local\Temp\APKTOOL4532311949921965490.tmp, -x, -0, arsc, -S, E:\4\3-Out\framework-res.apk\res, -M, E:\4\3-Out\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\A5EC~1\AppData\Local\Temp\brut_util_Jar_5361813994344402281.tmp, p, --forced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-I535VRUDNE1, -F, C:\Users\A5EC~1\AppData\Local\Temp\APKTOOL4532311949921965490.tmp, -x, -0, arsc, -S, E:\4\3-Out\framework-res.apk\res, -M, E:\4\3-Out\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more
please help ...

solved
solved using apk tool 2
http://forum.xda-developers.com/showthread.php?t=2639400

Related

Error while recompile somcphone.apk

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

[Q] Apktool '1' Error

So im trying to recompile a SystemUI.apk (cough im working on a Z3 project or maybe a rom if i can get this working and get permission from the original developer ^^)
So basically i can recompile as it shows me this error:
Code:
warning: string 'status_bar_help_text' has no default translation.
warning: string 'status_bar_help_title' has no default translation.
C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.apk\res\layout\status_bar_recent_panel.xml:11: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_clear').
C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.apk\res\layout\status_bar_recent_panel.xml:11: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_recents_clear').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\MahaDEVELOPER\AppData\Local\Temp\brut_util_Jar_3386441471624655008.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.4-1, -F, C:\Users\MahaDEVELOPER\AppData\Local\Temp\APKTOOL4355976165327215908.tmp, -I, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.apk\res, -M, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.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\MahaDEVELOPER\AppData\Local\Temp\brut_util_Jar_3386441471624655008.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.4-1, -F, C:\Users\MahaDEVELOPER\AppData\Local\Temp\APKTOOL4355976165327215908.tmp, -I, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.apk\res, -M, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.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\MahaDEVELOPER\AppData\Local\Temp\brut_util_Jar_3386441471624655008.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.4-1, -F, C:\Users\MahaDEVELOPER\AppData\Local\Temp\APKTOOL4355976165327215908.tmp, -I, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.apk\res, -M, C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)
... 6 more
------------------------------------------------------
So basically know the issue is...
Code:
C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.apk\res\layout\status_bar_recent_panel.xml:11: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_clear').
C:\Users\MahaDEVELOPER\Downloads\Apktool's\Advanced+Apk+Tool+v4.0.0+By+BDFreak\AdvancedApkTool\3-Out\SystemUI_v1.apk\res\layout\status_bar_recent_panel.xml:11: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_recents_clear').
But how do i fix this?
p.s. I'm no expert theme im just a noob that likes xperia stuff (hint! ).

[Completed] [Q] APKStudio is failing to decompile systemui.apk

Hi I used APKStudio to decompile and theme my systemUI.apk of Lenovo a369i. But it is failing to recompile it. Also there was no smali file in the decompiled apk folder. Every time try to recompile, I get this error message.
I: Using Apktool 2.0.0-Beta9 on systemui
W: Could not find sources
I: Building resources...
C:\Users\Karthik\Desktop\systemui\systemui\res\values\styles.xml:18: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.SearchBar'.
C:\Users\Karthik\Desktop\systemui\systemui\res\values\styles.xml:19: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.SearchBar'.
C:\Users\Karthik\Desktop\systemui\systemui\res\values\styles.xml:24: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.SearchBar'.
C:\Users\Karthik\Desktop\systemui\systemui\res\values\styles.xml:39: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.SearchBar'.
C:\Users\Karthik\Desktop\systemui\systemui\res\values\styles.xml:106: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.ZoomButtons'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Karthik\AppData\Local\Temp\brut_util_Jar_730259415441708022.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-180, -F, C:\Users\Karthik\AppData\Local\Temp\APKTOOL6464387972826900626.tmp, -0, arsc, -I, C:\Users\Karthik\apktool\framework\1.apk, -S, C:\Users\Karthik\Desktop\systemui\systemui\res, -M, C:\Users\Karthik\Desktop\systemui\systemui\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Karthik\AppData\Local\Temp\brut_util_Jar_730259415441708022.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-180, -F, C:\Users\Karthik\AppData\Local\Temp\APKTOOL6464387972826900626.tmp, -0, arsc, -I, C:\Users\Karthik\apktool\framework\1.apk, -S, C:\Users\Karthik\Desktop\systemui\systemui\res, -M, C:\Users\Karthik\Desktop\systemui\systemui\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Karthik\AppData\Local\Temp\brut_util_Jar_730259415441708022.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-180, -F, C:\Users\Karthik\AppData\Local\Temp\APKTOOL6464387972826900626.tmp, -0, arsc, -I, C:\Users\Karthik\apktool\framework\1.apk, -S, C:\Users\Karthik\Desktop\systemui\systemui\res, -M, C:\Users\Karthik\Desktop\systemui\systemui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more
Here is my systemui.apk View attachment SystemUI.apk
Duplicate thread.
http://forum.xda-developers.com/general/xda-assist/smali-file-systemui-lenovo-a369i-t3045687

[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

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