Hello,
I'm trying to change the text colour, but I can't open the *.xml's that are in framework-res.apk>color.
I already tried to use ColorEdit.exe and AXMLPrinter, but there is only an error. Or is it the wrong direction?
Please help.
jakuburban said:
Hello,
I'm trying to change the text colour, but I can't open the *.xml's that are in framework-res.apk>color.
I already tried to use ColorEdit.exe and AXMLPrinter, but there is only an error. Or is it the wrong direction?
Please help.
Click to expand...
Click to collapse
Yes sweetie, you are in the wrong direction here.
The XML files you are trying to edit are compiled. You need to decompile the apk, edit the files and recompile it. Search for APK Manager, that'll make your life easier.
cyanogen mod can do it in advanced settings i think. i did it b4.
iridaki said:
Yes sweetie, you are in the wrong direction here.
The XML files you are trying to edit are compiled. You need to decompile the apk, edit the files and recompile it. Search for APK Manager, that'll make your life easier.
Click to expand...
Click to collapse
Thanks, it really works, but I have an error during compiling Do You have any idea what it could be?
The error looks like this(only a part):
HTML:
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4261: error: Public symbol drawable/1_stat_sys_battery_57 declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3095: error: Public symbol drawable/textfield_search_empty declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4181: error: Public symbol drawable/textfield_search_empty_default declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4182: error: Public symbol drawable/textfield_search_empty_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4183: error: Public symbol drawable/textfield_search_empty_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4184: error: Public symbol drawable/textfield_search_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4185: error: Public symbol drawable/textfield_search_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4186: error: Public symbol drawable/textfield_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3096: error: Public symbol drawable/timepicker_down_btn declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4187: error: Public symbol drawable/timepicker_down_disabled declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4188: error: Public symbol drawable/timepicker_down_disabled_focused declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4189: error: Public symbol drawable/timepicker_down_normal declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4190: error: Public symbol drawable/timepicker_down_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4191: error: Public symbol drawable/timepicker_down_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3097: error: Public symbol drawable/timepicker_input declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4192: error: Public symbol drawable/timepicker_input_disabled declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4193: error: Public symbol drawable/timepicker_input_normal declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4194: error: Public symbol drawable/timepicker_input_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4195: error: Public symbol drawable/timepicker_input_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3098: error: Public symbol drawable/timepicker_up_btn declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4196: error: Public symbol drawable/timepicker_up_disabled declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4197: error: Public symbol drawable/timepicker_up_disabled_focused declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4198: error: Public symbol drawable/timepicker_up_normal declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4199: error: Public symbol drawable/timepicker_up_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4200: error: Public symbol drawable/timepicker_up_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:2920: error: Public symbol drawable/title_bar declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4201: error: Public symbol drawable/title_bar_medium declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4202: error: Public symbol drawable/title_bar_portrait declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4203: error: Public symbol drawable/title_bar_shadow declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3252: error: Public symbol drawable/title_bar_tall declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3242: error: Public symbol drawable/toast_frame declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4204: error: Public symbol drawable/unknown_image declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4205: error: Public symbol drawable/usb_android declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4206: error: Public symbol drawable/usb_android_connected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3243: error: Public symbol drawable/zoom_plate declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:2991: error: Public symbol drawable/zzz_btn_application_selector declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\dzejju\AppData\Local\Temp\APKTOOL2651673614688767481.tmp, -x, -S, C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res, -M, C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\dzejju\AppData\Local\Temp\APKTOOL2651673614688767481.tmp, -x, -S, C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res, -M, C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
jakuburban said:
Thanks, it really works, but I have an error during compiling Do You have any idea what it could be?
The error looks like this(only a part):
HTML:
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4261: error: Public symbol drawable/1_stat_sys_battery_57 declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3095: error: Public symbol drawable/textfield_search_empty declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4181: error: Public symbol drawable/textfield_search_empty_default declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4182: error: Public symbol drawable/textfield_search_empty_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4183: error: Public symbol drawable/textfield_search_empty_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4184: error: Public symbol drawable/textfield_search_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4185: error: Public symbol drawable/textfield_search_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4186: error: Public symbol drawable/textfield_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3096: error: Public symbol drawable/timepicker_down_btn declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4187: error: Public symbol drawable/timepicker_down_disabled declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4188: error: Public symbol drawable/timepicker_down_disabled_focused declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4189: error: Public symbol drawable/timepicker_down_normal declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4190: error: Public symbol drawable/timepicker_down_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4191: error: Public symbol drawable/timepicker_down_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3097: error: Public symbol drawable/timepicker_input declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4192: error: Public symbol drawable/timepicker_input_disabled declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4193: error: Public symbol drawable/timepicker_input_normal declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4194: error: Public symbol drawable/timepicker_input_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4195: error: Public symbol drawable/timepicker_input_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3098: error: Public symbol drawable/timepicker_up_btn declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4196: error: Public symbol drawable/timepicker_up_disabled declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4197: error: Public symbol drawable/timepicker_up_disabled_focused declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4198: error: Public symbol drawable/timepicker_up_normal declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4199: error: Public symbol drawable/timepicker_up_pressed declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4200: error: Public symbol drawable/timepicker_up_selected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:2920: error: Public symbol drawable/title_bar declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4201: error: Public symbol drawable/title_bar_medium declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4202: error: Public symbol drawable/title_bar_portrait declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4203: error: Public symbol drawable/title_bar_shadow declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3252: error: Public symbol drawable/title_bar_tall declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3242: error: Public symbol drawable/toast_frame declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4204: error: Public symbol drawable/unknown_image declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4205: error: Public symbol drawable/usb_android declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:4206: error: Public symbol drawable/usb_android_connected declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:3243: error: Public symbol drawable/zoom_plate declared here is not defined.
C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res\values\public.xml:2991: error: Public symbol drawable/zzz_btn_application_selector declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\dzejju\AppData\Local\Temp\APKTOOL2651673614688767481.tmp, -x, -S, C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res, -M, C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\dzejju\AppData\Local\Temp\APKTOOL2651673614688767481.tmp, -x, -S, C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\res, -M, C:\Users\dzejju\Desktop\apk manager\other\..\projects\fram.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Click to expand...
Click to collapse
Are you saving the xml files in UTF-8 format?
The error indicates that it cannot find the xmls you edited.
iridaki said:
Are you saving the xml files in UTF-8 format?
The error indicates that it cannot find the xmls you edited.
Click to expand...
Click to collapse
I saved it as it was, propably ANSII. Anyway I'll try to save it with UTF-8.
But the error appears also by .png's
jakuburban said:
I saved it as it was, propably ANSII. Anyway I'll try to save it with UTF-8.
But the error appears also by .png's
Click to expand...
Click to collapse
Have you installed proper framework in apktool folder?
iridaki said:
Have you installed proper framework in apktool folder?
Click to expand...
Click to collapse
Yes, decompiling works fine, but compiling doesn't
jakuburban said:
Yes, decompiling works fine, but compiling doesn't
Click to expand...
Click to collapse
Which framework did you install in the apktool folder and how exactly?
iridaki said:
Which framework did you install in the apktool folder and how exactly?
Click to expand...
Click to collapse
I put the "framework-res.apk" to "place-apk-here-for-modding" folder in apk manager. After I choose the file I want to edit i decompiled it using 9th option. Than I edited the .xml's and decompiling doesn't work
jakuburban said:
I put the "framework-res.apk" to "place-apk-here-for-modding" folder in apk manager. After I choose the file I want to edit i decompiled it using 9th option. Than I edited the .xml's and decompiling doesn't work
Click to expand...
Click to collapse
No, no. You can't recompile because you haven't set the resources needed.
Before doing all you did, you need to follow this guide to install the framework resources.
Related
I have an annoying problem when I try to recompile framework-res.
I use apktool this way
apktool if framework-res.apk
apktool d framework-res.apk fw
and then I edit res/values-da/strings.xml and then
apktool b fw framework-res.apk
and then I get these errors:
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Morten\AppData\Local\Temp\APKTOOL90430943757
xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
zzzzz_tw_quickcontact_slider_btn_normal declared here is not defined.
C:\\fw\res\values\public.xml:4144: error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_on declared here is not defined
C:\\fw\res\values\public.xml:3456: error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_pressed declared here is not de
C:\\fw\res\values\public.xml:4145: error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_selected declared here is not d
C:\\fw\res\values\public.xml:3457: error: Public symbol drawable/zzzzz_tw_quickcontact_slider_grip_left declared here is not defi
C:\\fw\res\values\public.xml:3458: error: Public symbol drawable/zzzzz_tw_quickcontact_slider_grip_right declared here is not def
C:\\fw\res\values\public.xml:3459: error: Public symbol drawable/zzzzz_tw_quickcontact_top_frame declared here is not defined.
C:\\fw\res\values\public.xml:4146: error: Public symbol drawable/zzzzzz_ic_lock_data_disable declared here is not defined.
C:\\fw\res\values\public.xml:4147: error: Public symbol drawable/zzzzzz_ic_lock_data_enable declared here is not defined.
C:\\fw\res\values\public.xml:4148: error: Public symbol drawable/zzzzzzz_sec_noti_icon_decryption declared here is not defined.
C:\\fw\res\values\public.xml:4149: error: Public symbol drawable/zzzzzzz_sec_noti_icon_encryption declared here is not defined.
C:\\fw\res\values\public.xml:4150: error: Public symbol drawable/zzzzzzzz_default_lockscreenw declared here is not defined.
C:\\fw\res\values\public.xml:4151: error: Public symbol drawable/zzzzzzzzz_btn_call_normal declared here is not defined.
C:\\fw\res\values\public.xml:4152: error: Public symbol drawable/zzzzzzzzz_btn_call_normal_disable declared here is not defined.
C:\\fw\res\values\public.xml:4153: error: Public symbol drawable/zzzzzzzzz_btn_call_pressed declared here is not defined.
C:\\fw\res\values\public.xml:4154: error: Public symbol drawable/zzzzzzzzz_btn_call_selected declared here is not defined.
C:\\fw\res\values\public.xml:4155: error: Public symbol drawable/zzzzzzzzz_pcw_bg_01 declared here is not defined.
C:\\fw\res\values\public.xml:4156: error: Public symbol drawable/zzzzzzzzz_pcw_btn_icon_emergency_dim declared here is not define
C:\\fw\res\values\public.xml:4157: error: Public symbol drawable/zzzzzzzzz_pcw_btn_icon_emergency_normal declared here is not def
C:\\fw\res\values\public.xml:4158: error: Public symbol drawable/zzzzzzzzz_pcw_btn_icon_emergency_press declared here is not defi
C:\\fw\res\values\public.xml:4159: error: Public symbol drawable/zzzzzzzzz_pcw_btn_icon_unlock_dim declared here is not defined.
C:\\fw\res\values\public.xml:4160: error: Public symbol drawable/zzzzzzzzz_pcw_btn_icon_unlock_normal declared here is not define
C:\\fw\res\values\public.xml:4161: error: Public symbol drawable/zzzzzzzzz_pcw_btn_icon_unlock_press declared here is not defined
C:\\fw\res\values\public.xml:3224: error: Public symbol drawable/zzzzzzzzz_pcw_call_icon_selector declared here is not defined.
C:\\fw\res\values\public.xml:3225: error: Public symbol drawable/zzzzzzzzz_pcw_call_selector declared here is not defined.
C:\\fw\res\values\public.xml:4162: error: Public symbol drawable/zzzzzzzzz_pcw_callbox declared here is not defined.
C:\\fw\res\values\public.xml:3226: error: Public symbol drawable/zzzzzzzzz_pcw_emergency_icon_selector declared here is not defin
C:\\fw\res\values\public.xml:4163: error: Public symbol drawable/zzzzzzzzz_pcw_ic_lock declared here is not defined.
C:\\fw\res\values\public.xml:4164: error: Public symbol drawable/zzzzzzzzz_pcw_icon_call_dim declared here is not defined.
C:\\fw\res\values\public.xml:4165: error: Public symbol drawable/zzzzzzzzz_pcw_icon_call_normal declared here is not defined.
C:\\fw\res\values\public.xml:4166: error: Public symbol drawable/zzzzzzzzz_pcw_icon_call_press declared here is not defined.
C:\\fw\res\values\public.xml:4167: error: Public symbol drawable/zzzzzzzzz_pcw_line declared here is not defined.
C:\\fw\res\values\public.xml:3227: error: Public symbol drawable/zzzzzzzzz_pcw_unlock_icon_selector declared here is not defined.
Click to expand...
Click to collapse
Is there someone who can help me debugging this?
Put twframework-res.apk in apktool folder.
Apktool if twframework-res.apk.
Then try again.
You find the file in system/framework.
Br
Sent from my GT-I9100 using XDA premium
Hmm... that didn't work! I still get a lot of errors! Might be impossible to edit what I want.
I am hoping someone has already modded the Rosie.apk from Fresh 4.2.0 ROM for 4x5. If you have the file, please upload and post a link. I am trying to do it myself, even though I've never modded anything for Android before. I'm trying to learn with the great resources here on XDA, but I know I've got some ways to go before I'll be able to do this.
Could someone knowledgable please advise me
I think I managed to get a third of the way through the process of modding Rosie for 4x5 launcher screens, but I'm kind of stuck now. I successfully used M10tools to change cell padding and cell number. Now I'm trying to decompile Rosie.apk with APK Multi-Tools and I haven't been able to make it work. It seems that another dependency file is required to decompile Rosie, but I don't know what file? I tried "com.htc.resources.apk" and "framework-res.apk", but they don't work.
What is the dependency file I need to decompile Rosie from FreshROM v4.2.0? Or am I doing something wrong? Please, I would appreciate any advise on this.
I'm not real familiar with sense 3.0, and it's been a LONG time since I've used sense,.....but it seems like fusion.apk may be what else you need. Unless I'm wrong, in which case fusion.apk is for lockscreen.
Good luck.
Sent from my PC36100 using xda premium
scottspa74 said:
I'm not real familiar with sense 3.0, and it's been a LONG time since I've used sense,.....but it seems like fusion.apk may be what else you need. Unless I'm wrong, in which case fusion.apk is for lockscreen.
Good luck.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Thanks, I did finally manage to decompile Rosie.apk. The problem was with my path settings. The problem now is that I cant recompile Rosie. I get an error each time. I've already installed framework files using "java -jar apktool.jar if framework-res.apk", etc. In searching the forums I found a number of others with the same type of error compiling, but none of the solutions worked. I even tried 3 different versions of the APK Multi-tools.
I've got the modifications to Rosie complete, all I need now is a successful recompile so I can use it.
---edit--- this is the error message i get
Building Apk
"An Error Occured, Please Check The Log (option 24)"
Press any key to continue . . .
Click to expand...
Click to collapse
Here is the logfile:
2012-04-08 00:33:55 (51.3 KB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\drawable-hdpi\all_apps_divider.9.png
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:87: error: Public symbol drawable/activity_title_bar declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:88: error: Public symbol drawable/alarm declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:21: error: Public symbol drawable/all_apps_divider declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:67: error: Public symbol drawable/bb_btn_left declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:68: error: Public symbol drawable/bb_btn_left_src_down declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:69: error: Public symbol drawable/bb_btn_left_src_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:70: error: Public symbol drawable/bb_btn_middle declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:71: error: Public symbol drawable/bb_btn_middle_src declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:72: error: Public symbol drawable/bb_btn_right declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:73: error: Public symbol drawable/bb_btn_right_personalize_src declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:74: error: Public symbol drawable/bb_btn_right_src declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:22: error: Public symbol drawable/bg_appwidget_error declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:23: error: Public symbol drawable/bottom_divider declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:24: error: Public symbol drawable/box_launcher_bottom declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:25: error: Public symbol drawable/box_launcher_top declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:26: error: Public symbol drawable/box_launcher_top_normal declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:27: error: Public symbol drawable/box_launcher_top_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:141: error: Public symbol drawable/btn_left_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:142: error: Public symbol drawable/btn_left_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:134: error: Public symbol drawable/btn_left_rest_big declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:135: error: Public symbol drawable/btn_left_setting_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:143: error: Public symbol drawable/btn_middle_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:144: error: Public symbol drawable/btn_middle_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:28: error: Public symbol drawable/btn_navbar declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:145: error: Public symbol drawable/btn_right_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:136: error: Public symbol drawable/btn_right_remove_press declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:146: error: Public symbol drawable/btn_right_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:137: error: Public symbol drawable/btn_right_rest_big declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:29: error: Public symbol drawable/bubble_tip declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:30: error: Public symbol drawable/cell_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:31: error: Public symbol drawable/close_search declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:32: error: Public symbol drawable/common_download_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:33: error: Public symbol drawable/common_download_selected declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:34: error: Public symbol drawable/common_inputfield declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:89: error: Public symbol drawable/common_mainnav_scroller1 declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:147: error: Public symbol drawable/common_mainnav_scroller1_l declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:148: error: Public symbol drawable/common_mainnav_scroller2_l declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:90: error: Public symbol drawable/common_mainnav_scroller3 declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:91: error: Public symbol drawable/common_more declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:92: error: Public symbol drawable/common_title_bar declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:35: error: Public symbol drawable/common_titlebar_sublevel_static declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:36: error: Public symbol drawable/common_titlebar_sublevel_static_middle declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:93: error: Public symbol drawable/con_trash_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:94: error: Public symbol drawable/con_trash_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:95: error: Public symbol drawable/default_scene_preview declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:96: error: Public symbol drawable/delete_select declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:37: error: Public symbol drawable/edit_delet_icon declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:38: error: Public symbol drawable/edit_setting_icon declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:39: error: Public symbol drawable/grid_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:40: error: Public symbol drawable/home_screen declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:97: error: Public symbol drawable/ic_close_search declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:98: error: Public symbol drawable/ic_close_search_disable declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:99: error: Public symbol drawable/ic_close_search_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:41: error: Public symbol drawable/ic_launcher_empty declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:42: error: Public symbol drawable/ic_launcher_htc_widget declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:43: error: Public symbol drawable/ic_rosie_home declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:100: error: Public symbol drawable/ic_search_widget declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:101: error: Public symbol drawable/icon_add_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:102: error: Public symbol drawable/icon_add_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:103: error: Public symbol drawable/icon_all_down_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:104: error: Public symbol drawable/icon_all_down_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:105: error: Public symbol drawable/icon_all_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:106: error: Public symbol drawable/icon_all_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:107: error: Public symbol drawable/icon_htc_logo declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:108: error: Public symbol drawable/icon_menu_3d_panel declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:109: error: Public symbol drawable/icon_menu_all_programs declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:110: error: Public symbol drawable/icon_menu_notifications declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:111: error: Public symbol drawable/icon_menu_set_ringtone declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:112: error: Public symbol drawable/icon_menu_theme declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:113: error: Public symbol drawable/icon_menu_wallpaper declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:114: error: Public symbol drawable/icon_p_phone_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:115: error: Public symbol drawable/icon_p_phone_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:78: error: Public symbol drawable/icon_phone_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:79: error: Public symbol drawable/icon_phone_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:116: error: Public symbol drawable/icon_setting_disable declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:117: error: Public symbol drawable/icon_setting_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:118: error: Public symbol drawable/icon_setting_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:80: error: Public symbol drawable/l_btn_remove_press declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:81: error: Public symbol drawable/l_icon_add_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:82: error: Public symbol drawable/l_icon_add_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:83: error: Public symbol drawable/l_icon_all_down_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:84: error: Public symbol drawable/l_icon_all_down_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:85: error: Public symbol drawable/l_icon_all_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:86: error: Public symbol drawable/l_icon_all_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:44: error: Public symbol drawable/list_item_right_btn declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:45: error: Public symbol drawable/list_item_right_btn_newapp declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:46: error: Public symbol drawable/list_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:47: error: Public symbol drawable/lockscreen declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:48: error: Public symbol drawable/message_no_arrow declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:49: error: Public symbol drawable/message_port_bottom declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:119: error: Public symbol drawable/notification_sound declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:50: error: Public symbol drawable/panel_navbar_button_press declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:51: error: Public symbol drawable/panel_navbar_button_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:52: error: Public symbol drawable/panel_navbar_button_selected declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:138: error: Public symbol drawable/personalize_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:139: error: Public symbol drawable/personalize_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:53: error: Public symbol drawable/placeholder_google declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:120: error: Public symbol drawable/rearrange declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:121: error: Public symbol drawable/ringtone declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:122: error: Public symbol drawable/rosie_common_divider_items declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:54: error: Public symbol drawable/rosie_common_divider_items_scene declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:55: error: Public symbol drawable/rosie_common_sectiondivider declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:75: error: Public symbol drawable/rosie_delete_zone_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:76: error: Public symbol drawable/rosie_drag_menu_left_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:77: error: Public symbol drawable/rosie_drag_menu_right_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:56: error: Public symbol drawable/rosie_ic_launcher_gallery declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:123: error: Public symbol drawable/rosie_indicator_left declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:124: error: Public symbol drawable/rosie_indicator_right declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:125: error: Public symbol drawable/scene declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:140: error: Public symbol drawable/scenes_picker_list_clean_slate declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:126: error: Public symbol drawable/scenes_picker_sense declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:127: error: Public symbol drawable/search_floater declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:57: error: Public symbol drawable/settings_icon_application declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:58: error: Public symbol drawable/shortcut_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:128: error: Public symbol drawable/skin declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:129: error: Public symbol drawable/sound_set declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:59: error: Public symbol drawable/status_bar declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:60: error: Public symbol drawable/textfield_searchwidget declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:61: error: Public symbol drawable/textfield_searchwidget_default declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:62: error: Public symbol drawable/textfield_searchwidget_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:63: error: Public symbol drawable/textfield_searchwidget_selected declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:130: error: Public symbol drawable/thumbnail_panel declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:64: error: Public symbol drawable/touch_flo declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:131: error: Public symbol drawable/wallpaper declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:132: error: Public symbol drawable/wallpaper_shadow declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:133: error: Public symbol drawable/widget declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:65: error: Public symbol drawable/widget_icon_htc_gallery declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:66: error: Public symbol drawable/widget_icon_photo declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Dennis\LOCALS~1\Temp\APKTOOL2782216268664823213.tmp, -I, C:\Documents and Settings\Dennis\apktool\framework\1.apk, -I, C:\Documents and Settings\Dennis\apktool\framework\2.apk, -S, C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res, -M, C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Dennis\LOCALS~1\Temp\APKTOOL2782216268664823213.tmp, -I, C:\Documents and Settings\Dennis\apktool\framework\1.apk, -I, C:\Documents and Settings\Dennis\apktool\framework\2.apk, -S, C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res, -M, C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Click to expand...
Click to collapse
And just for clarification, I'm using the latest aapt.exe file and still getting this error.
I got Rosie from Fresh420 ROM, decompiled it, modified for 4x5 launcher screens, and now I can't recompile it. Even recompiling an unmodified Rosie won't work.
I am using the latest aapt.exe, I have installed framework files using "java -jar apktool.jar if framework-res.apk", etc. I have tried recompiling with versions 1.0, 1.01, and 1.02 of APK Multi-tools, all give same error. I am stuck, could someone knowledgeable please help me out. This is my first time compiling an APK but I have done my research and feel I understand the basics pretty well. Any advice would be very much appreciated.
The error message i receive:
Building Apk
"An Error Occured, Please Check The Log (option 24)"
Press any key to continue . . .
Click to expand...
Click to collapse
The logfile:
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\drawable-hdpi\all_apps_divider.9.png
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:87: error: Public symbol drawable/activity_title_bar declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:88: error: Public symbol drawable/alarm declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:21: error: Public symbol drawable/all_apps_divider declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:67: error: Public symbol drawable/bb_btn_left declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:68: error: Public symbol drawable/bb_btn_left_src_down declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:69: error: Public symbol drawable/bb_btn_left_src_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:70: error: Public symbol drawable/bb_btn_middle declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:71: error: Public symbol drawable/bb_btn_middle_src declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:72: error: Public symbol drawable/bb_btn_right declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:73: error: Public symbol drawable/bb_btn_right_personalize_src declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:74: error: Public symbol drawable/bb_btn_right_src declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:22: error: Public symbol drawable/bg_appwidget_error declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:23: error: Public symbol drawable/bottom_divider declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:24: error: Public symbol drawable/box_launcher_bottom declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:25: error: Public symbol drawable/box_launcher_top declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:26: error: Public symbol drawable/box_launcher_top_normal declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:27: error: Public symbol drawable/box_launcher_top_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:141 : error: Public symbol drawable/btn_left_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:142 : error: Public symbol drawable/btn_left_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:134 : error: Public symbol drawable/btn_left_rest_big declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:135 : error: Public symbol drawable/btn_left_setting_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:143 : error: Public symbol drawable/btn_middle_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:144 : error: Public symbol drawable/btn_middle_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:28: error: Public symbol drawable/btn_navbar declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:145 : error: Public symbol drawable/btn_right_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:136 : error: Public symbol drawable/btn_right_remove_press declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:146 : error: Public symbol drawable/btn_right_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:137 : error: Public symbol drawable/btn_right_rest_big declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:29: error: Public symbol drawable/bubble_tip declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:30: error: Public symbol drawable/cell_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:31: error: Public symbol drawable/close_search declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:32: error: Public symbol drawable/common_download_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:33: error: Public symbol drawable/common_download_selected declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:34: error: Public symbol drawable/common_inputfield declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:89: error: Public symbol drawable/common_mainnav_scroller1 declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:147 : error: Public symbol drawable/common_mainnav_scroller1_l declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:148 : error: Public symbol drawable/common_mainnav_scroller2_l declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:90: error: Public symbol drawable/common_mainnav_scroller3 declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:91: error: Public symbol drawable/common_more declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:92: error: Public symbol drawable/common_title_bar declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:35: error: Public symbol drawable/common_titlebar_sublevel_static declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:36: error: Public symbol drawable/common_titlebar_sublevel_static_middle declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:93: error: Public symbol drawable/con_trash_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:94: error: Public symbol drawable/con_trash_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:95: error: Public symbol drawable/default_scene_preview declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:96: error: Public symbol drawable/delete_select declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:37: error: Public symbol drawable/edit_delet_icon declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:38: error: Public symbol drawable/edit_setting_icon declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:39: error: Public symbol drawable/grid_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:40: error: Public symbol drawable/home_screen declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:97: error: Public symbol drawable/ic_close_search declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:98: error: Public symbol drawable/ic_close_search_disable declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:99: error: Public symbol drawable/ic_close_search_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:41: error: Public symbol drawable/ic_launcher_empty declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:42: error: Public symbol drawable/ic_launcher_htc_widget declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:43: error: Public symbol drawable/ic_rosie_home declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:100 : error: Public symbol drawable/ic_search_widget declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:101 : error: Public symbol drawable/icon_add_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:102 : error: Public symbol drawable/icon_add_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:103 : error: Public symbol drawable/icon_all_down_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:104 : error: Public symbol drawable/icon_all_down_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:105 : error: Public symbol drawable/icon_all_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:106 : error: Public symbol drawable/icon_all_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:107 : error: Public symbol drawable/icon_htc_logo declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:108 : error: Public symbol drawable/icon_menu_3d_panel declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:109 : error: Public symbol drawable/icon_menu_all_programs declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:110 : error: Public symbol drawable/icon_menu_notifications declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:111 : error: Public symbol drawable/icon_menu_set_ringtone declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:112 : error: Public symbol drawable/icon_menu_theme declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:113 : error: Public symbol drawable/icon_menu_wallpaper declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:114 : error: Public symbol drawable/icon_p_phone_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:115 : error: Public symbol drawable/icon_p_phone_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:78: error: Public symbol drawable/icon_phone_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:79: error: Public symbol drawable/icon_phone_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:116 : error: Public symbol drawable/icon_setting_disable declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:117 : error: Public symbol drawable/icon_setting_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:118 : error: Public symbol drawable/icon_setting_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:80: error: Public symbol drawable/l_btn_remove_press declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:81: error: Public symbol drawable/l_icon_add_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:82: error: Public symbol drawable/l_icon_add_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:83: error: Public symbol drawable/l_icon_all_down_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:84: error: Public symbol drawable/l_icon_all_down_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:85: error: Public symbol drawable/l_icon_all_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:86: error: Public symbol drawable/l_icon_all_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:44: error: Public symbol drawable/list_item_right_btn declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:45: error: Public symbol drawable/list_item_right_btn_newapp declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:46: error: Public symbol drawable/list_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:47: error: Public symbol drawable/lockscreen declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:48: error: Public symbol drawable/message_no_arrow declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:49: error: Public symbol drawable/message_port_bottom declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:119 : error: Public symbol drawable/notification_sound declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:50: error: Public symbol drawable/panel_navbar_button_press declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:51: error: Public symbol drawable/panel_navbar_button_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:52: error: Public symbol drawable/panel_navbar_button_selected declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:138 : error: Public symbol drawable/personalize_on declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:139 : error: Public symbol drawable/personalize_rest declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:53: error: Public symbol drawable/placeholder_google declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:120 : error: Public symbol drawable/rearrange declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:121 : error: Public symbol drawable/ringtone declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:122 : error: Public symbol drawable/rosie_common_divider_items declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:54: error: Public symbol drawable/rosie_common_divider_items_scene declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:55: error: Public symbol drawable/rosie_common_sectiondivider declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:75: error: Public symbol drawable/rosie_delete_zone_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:76: error: Public symbol drawable/rosie_drag_menu_left_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:77: error: Public symbol drawable/rosie_drag_menu_right_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:56: error: Public symbol drawable/rosie_ic_launcher_gallery declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:123 : error: Public symbol drawable/rosie_indicator_left declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:124 : error: Public symbol drawable/rosie_indicator_right declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:125 : error: Public symbol drawable/scene declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:140 : error: Public symbol drawable/scenes_picker_list_clean_slate declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:126 : error: Public symbol drawable/scenes_picker_sense declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:127 : error: Public symbol drawable/search_floater declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:57: error: Public symbol drawable/settings_icon_application declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:58: error: Public symbol drawable/shortcut_selector declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:128 : error: Public symbol drawable/skin declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:129 : error: Public symbol drawable/sound_set declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:59: error: Public symbol drawable/status_bar declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:60: error: Public symbol drawable/textfield_searchwidget declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:61: error: Public symbol drawable/textfield_searchwidget_default declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:62: error: Public symbol drawable/textfield_searchwidget_pressed declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:63: error: Public symbol drawable/textfield_searchwidget_selected declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:130 : error: Public symbol drawable/thumbnail_panel declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:64: error: Public symbol drawable/touch_flo declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:131 : error: Public symbol drawable/wallpaper declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:132 : error: Public symbol drawable/wallpaper_shadow declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:133 : error: Public symbol drawable/widget declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:65: error: Public symbol drawable/widget_icon_htc_gallery declared here is not defined.
C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res\values\public.xml:66: error: Public symbol drawable/widget_icon_photo declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Dennis\LOCALS~1\Temp\APKTOOL2782216268 664823213.tmp, -I, C:\Documents and Settings\Dennis\apktool\framework\1.apk, -I, C:\Documents and Settings\Dennis\apktool\framework\2.apk, -S, C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res, -M, C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:301)
at brut.androlib.Androlib.buildResources(Androlib.jav a:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Dennis\LOCALS~1\Temp\APKTOOL2782216268 664823213.tmp, -I, C:\Documents and Settings\Dennis\apktool\framework\1.apk, -I, C:\Documents and Settings\Dennis\apktool\framework\2.apk, -S, C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\res, -M, C:\android-sdk\APK_Multi-Tools\projects\Rosie.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:191)
... 6 more
Click to expand...
Click to collapse
evo3dtester said:
I got Rosie from Fresh420 ROM, decompiled it, modified for 4x5 launcher screens, and now I can't recompile it. Even recompiling an unmodified Rosie won't work.
I am using the latest aapt.exe, I have installed framework files using "java -jar apktool.jar if framework-res.apk", etc. I have tried recompiling with versions 1.0, 1.01, and 1.02 of APK Multi-tools, all give same error. I am stuck, could someone knowledgeable please help me out. This is my first time compiling an APK but I have done my research and feel I understand the basics pretty well. Any advice would be very much appreciated.
The error message i receive:
The logfile:
Click to expand...
Click to collapse
Before decompiling it get a stock rom, unzip and fine the all_apps_divider.9.png in the res/drawable-hdpi, then upzip yout Rosie.apk and replace your all_apps_divider.9.png with the one from the stock Rosie.apk rezip then decomple. Also follow directions below.
If you are just editing smali files then you can just move the classes.dex file of the one you are compiling with error and unzip the original Rosie.apk place the classes.dex file from the the compiled to the original unzip then rezip it push it and good to go. I have had this same error before. A friend on here taught me this trick only copy modified fies to original and it works.
All_apps_divider.9 is bad in res/drawable and in drawable-hdpi. Either re patch the images or pull known good ones from another Rosie.apk. It seems that this has been going around. I'm assuming thats from Leedroid tweaks? Anyway, that will fix your problem. EDIT* sorry mike didn't see you already answered.
I'm using apktool to recompile an apk. (apktool b MomanCamerav2.3.3)
APK: MomanCamerav2.3.3.apk - link http://d-h.st/NDg
I was installed JDK & JRE
wable/score_download_icon declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:359: error: Public symbol dra
wable/score_download_icon_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:360: error: Public symbol dra
wable/score_price_tag declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:361: error: Public symbol dra
wable/score_tag declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:362: error: Public symbol dra
wable/scoreadd declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:363: error: Public symbol dra
wable/scoreconvertback declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:364: error: Public symbol dra
wable/scoreget declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:365: error: Public symbol dra
wable/scoreknow declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:79: error: Public symbol draw
able/scoreknow_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:366: error: Public symbol dra
wable/scoreknowclick declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:367: error: Public symbol dra
wable/scorelack declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:368: error: Public symbol dra
wable/scoreset declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:369: error: Public symbol dra
wable/scroebgtips declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:370: error: Public symbol dra
wable/seekbar_progressdrawable declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:371: error: Public symbol dra
wable/seekbar_thumb declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:372: error: Public symbol dra
wable/seekbar_thumb_foucused declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:80: error: Public symbol draw
able/seekbar_thumb_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:373: error: Public symbol dra
wable/select_gender_bg declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:81: error: Public symbol draw
able/select_gender_man_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:82: error: Public symbol draw
able/select_gender_woman_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:374: error: Public symbol dra
wable/set_about declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:375: error: Public symbol dra
wable/set_activity_help declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:376: error: Public symbol dra
wable/set_check_new declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:377: error: Public symbol dra
wable/set_have declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:378: error: Public symbol dra
wable/set_help declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:379: error: Public symbol dra
wable/set_item_center declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:380: error: Public symbol dra
wable/set_item_down declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:381: error: Public symbol dra
wable/set_item_indicator declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:382: error: Public symbol dra
wable/set_item_up declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:383: error: Public symbol dra
wable/set_kuang declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:384: error: Public symbol dra
wable/set_line declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:385: error: Public symbol dra
wable/set_login declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:386: error: Public symbol dra
wable/set_login_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:387: error: Public symbol dra
wable/set_login_exit declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:388: error: Public symbol dra
wable/set_new_version declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:389: error: Public symbol dra
wable/set_open_eye declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:390: error: Public symbol dra
wable/set_sava_path declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:391: error: Public symbol dra
wable/share_at declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:83: error: Public symbol draw
able/share_send declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:392: error: Public symbol dra
wable/share_send_a declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:393: error: Public symbol dra
wable/share_send_b declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:394: error: Public symbol dra
wable/sign000 declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:395: error: Public symbol dra
wable/sign_back declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:396: error: Public symbol dra
wable/sign_clear_screen declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:397: error: Public symbol dra
wable/sign_clear_screen_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:84: error: Public symbol draw
able/sign_clear_screen_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:398: error: Public symbol dra
wable/sign_eraser declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:399: error: Public symbol dra
wable/sign_eraser_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:400: error: Public symbol dra
wable/sign_font_back declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:401: error: Public symbol dra
wable/sign_font_dian declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:402: error: Public symbol dra
wable/sign_font_focus declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:403: error: Public symbol dra
wable/sign_pen declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:404: error: Public symbol dra
wable/sign_pen_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:405: error: Public symbol dra
wable/sina_weibo declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:406: error: Public symbol dra
wable/sina_weibo_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:85: error: Public symbol draw
able/sina_weibo_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:407: error: Public symbol dra
wable/style_black declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:408: error: Public symbol dra
wable/style_black_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:409: error: Public symbol dra
wable/style_gold declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:410: error: Public symbol dra
wable/style_gold_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:411: error: Public symbol dra
wable/suggestion_back declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:412: error: Public symbol dra
wable/suggestion_send declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:413: error: Public symbol dra
wable/suggestion_send_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:86: error: Public symbol draw
able/suggestion_send_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:414: error: Public symbol dra
wable/suggestion_text declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:415: error: Public symbol dra
wable/switch_camera declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:416: error: Public symbol dra
wable/switch_camera_selected declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:87: error: Public symbol draw
able/switch_camera_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:417: error: Public symbol dra
wable/take_picture_btn declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:418: error: Public symbol dra
wable/take_picture_btn_pressed declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:88: error: Public symbol draw
able/take_picture_btn_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:419: error: Public symbol dra
wable/tencent_weibo declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:420: error: Public symbol dra
wable/tencent_weibo_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:89: error: Public symbol draw
able/tencent_weibo_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:421: error: Public symbol dra
wable/test declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:422: error: Public symbol dra
wable/test_1 declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:423: error: Public symbol dra
wable/test_2 declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:424: error: Public symbol dra
wable/tips_dot_menu declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:425: error: Public symbol dra
wable/tips_get declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:426: error: Public symbol dra
wable/tips_get_back declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:427: error: Public symbol dra
wable/tips_get_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:428: error: Public symbol dra
wable/tips_get_me_pack declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:429: error: Public symbol dra
wable/tips_getcancel declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:430: error: Public symbol dra
wable/tips_getcancel_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:431: error: Public symbol dra
wable/tips_gettext declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:432: error: Public symbol dra
wable/tips_guoqi declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:433: error: Public symbol dra
wable/tips_me_get declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:434: error: Public symbol dra
wable/tips_melogin declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:435: error: Public symbol dra
wable/tips_onclick declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:436: error: Public symbol dra
wable/tips_qq declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:437: error: Public symbol dra
wable/tips_savaback declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:438: error: Public symbol dra
wable/tips_sina declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:439: error: Public symbol dra
wable/tips_text declared here is Exception in thread "main" not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:440: error: Public symbol dra
wable/tips_weixinfriend declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:441: error: Public symbol dra
wable/tips_weixinquan declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:90: error: Public symbol draw
able/title_logo declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:91: error: Public symbol draw
able/to_camera_activity_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:442: error: Public symbol dra
wable/to_launch_wx declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:443: error: Public symbol dra
wable/to_launch_wx_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:92: error: Public symbol draw
able/to_launch_wx_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:444: error: Public symbol dra
wable/warehouse_buy declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:445: error: Public symbol dra
wable/warehouse_buy_text declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:446: error: Public symbol dra
wable/warehouse_buy_text_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:447: error: Public symbol dra
wable/warehouse_get declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:448: error: Public symbol dra
wable/warehouse_gq_get declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:449: error: Public symbol dra
wable/warehouse_me_text declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:450: error: Public symbol dra
wable/warehouse_tab_focus_back declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:451: error: Public symbol dra
wable/warehouse_tab_focus_jiao declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:452: error: Public symbol dra
wable/warehouse_tab_focus_line declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:453: error: Public symbol dra
wable/warehouse_tab_minute_back declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:454: error: Public symbol dra
wable/warehouse_tips_3 declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:455: error: Public symbol dra
wable/warehouse_yet_get declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:456: error: Public symbol dra
wable/watermark_512x256 declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:457: error: Public symbol dra
wable/watermark_paid declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:458: error: Public symbol dra
wable/watermark_paid_bw declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:459: error: Public symbol dra
wable/wbg declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:460: error: Public symbol dra
wable/web_bound declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:461: error: Public symbol dra
wable/web_jiebound declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:462: error: Public symbol dra
wable/web_qq_icon declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:463: error: Public symbol dra
wable/web_setqq_icon declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:464: error: Public symbol dra
wable/web_sina_icon declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:465: error: Public symbol dra
wable/welcome_page_bm declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:466: error: Public symbol dra
wable/wx_friend declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:467: error: Public symbol dra
wable/wx_friend_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:468: error: Public symbol dra
wable/wx_friend_group declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:469: error: Public symbol dra
wable/wx_friend_group_click declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:93: error: Public symbol draw
able/wx_friend_group_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:94: error: Public symbol draw
able/wx_friend_selector declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:470: error: Public symbol dra
wable/wx_launch_mc_course_bg declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:471: error: Public symbol dra
wable/wx_launch_mc_course_content declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:472: error: Public symbol dra
wable/yetbuy declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:473: error: Public symbol dra
wable/yetdownload declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:474: error: Public symbol dra
wable/yetdownload_goods declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:475: error: Public symbol dra
wable/yingyongbao_logo declared here is not defined.
C:\apktool\MomanCamerav2.3.3\res\values\public.xml:476: error: Public symbol dra
wable/your_photo_tip declared here is not defined.
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sd
k-version, 9, -F, C:\Users\mrteri\AppData\Local\Temp\APKTOOL5478433857309573180.
tmp, -I, C:\Users\mrteri\apktool\framework\1.apk, -S, C:\apktool\MomanCamerav2.3
.3\res, -M, C:\apktool\MomanCamerav2.3.3\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:355)
at brut.androlib.Androlib.buildResources(Androlib.java:280)
at brut.androlib.Androlib.build(Androlib.java:203)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:214)
at brut.apktool.Main.main(Main.java:74)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 9, -F, C:\U
sers\mrteri\AppData\Local\Temp\APKTOOL5478433857309573180.tmp, -I, C:\Users\mrte
ri\apktool\framework\1.apk, -S, C:\apktool\MomanCamerav2.3.3\res, -M, C:\apktool
\MomanCamerav2.3.3\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:335)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:333)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 9, --target-sdk-version, 9, -F, C:\Users\mrteri\AppData\Local\Temp\AP
KTOOL5478433857309573180.tmp, -I, C:\Users\mrteri\apktool\framework\1.apk, -S, C
:\apktool\MomanCamerav2.3.3\res, -M, C:\apktool\MomanCamerav2.3.3\AndroidManifes
t.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:333)
... 6 more
C:\apktool>
Click to expand...
Click to collapse
upppppppppp
Hi I use advanced apktool v4.2.0 and I have a probleme whene I try to Recompiling my app I attached the error in the link below:
PHP:
Log For : myapp.apk
Log Type : Recompiling
Log Recorded At : Mon 12-12-2016 3:27:58.01
Log Recorded By : Advanced ApkTool v4.2.0 By BDFreak
------------------------------------------------------
ERROR: 9-patch image D:\Dev\Work\App\3-Out\myapp.apk\res\drawable-mdpi-v4\abc_list_divider_mtrl_alpha.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image D:\Dev\Work\App\3-Out\myapp.apk\res\drawable-mdpi-v4\abc_list_divider_mtrl_alpha.9.png
ERROR: 9-patch image D:\Dev\Work\App\3-Out\myapp.apk\res\drawable-hdpi-v4\abc_list_divider_mtrl_alpha.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image D:\Dev\Work\App\3-Out\myapp.apk\res\drawable-hdpi-v4\abc_list_divider_mtrl_alpha.9.png
ERROR: 9-patch image D:\Dev\Work\App\3-Out\myapp.apk\res\drawable-xhdpi-v4\abc_list_divider_mtrl_alpha.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: 9-patch image D:\Dev\Work\App\3-Out\myapp.apk\res\drawable-xxhdpi-v4\abc_list_divider_mtrl_alpha.9.png malformed.
EMustRR haOvRe: oFnaei-lpuirxee lp rforcaemses itnhga tP NiGs eiimtahgeer Dt:r\aDnesvp\aWroernkt\ Aoprp \w3h-iOtuet.\
myapp.apk\res\drawable-xhdpi-v4\abc_list_divider_mtrl_alpha.9.png
ERROR: Failure processing PNG image D:\Dev\Work\App\3-Out\myapp.apk\res\drawable-xxhdpi-v4\abc_list_divider_mtrl_alpha.9.png
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:265: error: Public symbol drawable/abc_ab_share_pack_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:263: error: Public symbol drawable/abc_action_bar_item_background_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:228: error: Public symbol drawable/abc_btn_borderless_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:229: error: Public symbol drawable/abc_btn_check_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:266: error: Public symbol drawable/abc_btn_check_to_on_mtrl_000 declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:267: error: Public symbol drawable/abc_btn_check_to_on_mtrl_015 declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:230: error: Public symbol drawable/abc_btn_colored_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:231: error: Public symbol drawable/abc_btn_default_mtrl_shape declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:232: error: Public symbol drawable/abc_btn_radio_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:268: error: Public symbol drawable/abc_btn_radio_to_on_mtrl_000 declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:269: error: Public symbol drawable/abc_btn_radio_to_on_mtrl_015 declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:270: error: Public symbol drawable/abc_btn_switch_to_on_mtrl_00001 declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:271: error: Public symbol drawable/abc_btn_switch_to_on_mtrl_00012 declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:233: error: Public symbol drawable/abc_cab_background_internal_bg declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:234: error: Public symbol drawable/abc_cab_background_top_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:272: error: Public symbol drawable/abc_cab_background_top_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:264: error: Public symbol drawable/abc_control_background_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:235: error: Public symbol drawable/abc_dialog_material_background declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:236: error: Public symbol drawable/abc_edit_text_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:237: error: Public symbol drawable/abc_ic_ab_back_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:238: error: Public symbol drawable/abc_ic_arrow_drop_right_black_24dp declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:239: error: Public symbol drawable/abc_ic_clear_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:273: error: Public symbol drawable/abc_ic_commit_search_api_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:240: error: Public symbol drawable/abc_ic_go_search_api_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:274: error: Public symbol drawable/abc_ic_menu_copy_mtrl_am_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:275: error: Public symbol drawable/abc_ic_menu_cut_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:241: error: Public symbol drawable/abc_ic_menu_overflow_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:276: error: Public symbol drawable/abc_ic_menu_paste_mtrl_am_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:277: error: Public symbol drawable/abc_ic_menu_selectall_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:278: error: Public symbol drawable/abc_ic_menu_share_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:242: error: Public symbol drawable/abc_ic_search_api_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:279: error: Public symbol drawable/abc_ic_star_black_16dp declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:280: error: Public symbol drawable/abc_ic_star_black_36dp declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:281: error: Public symbol drawable/abc_ic_star_black_48dp declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:282: error: Public symbol drawable/abc_ic_star_half_black_16dp declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:283: error: Public symbol drawable/abc_ic_star_half_black_36dp declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:284: error: Public symbol drawable/abc_ic_star_half_black_48dp declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:243: error: Public symbol drawable/abc_ic_voice_search_api_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:244: error: Public symbol drawable/abc_item_background_holo_dark declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:245: error: Public symbol drawable/abc_item_background_holo_light declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:285: error: Public symbol drawable/abc_list_divider_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:286: error: Public symbol drawable/abc_list_focused_holo declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:287: error: Public symbol drawable/abc_list_longpressed_holo declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:288: error: Public symbol drawable/abc_list_pressed_holo_dark declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:289: error: Public symbol drawable/abc_list_pressed_holo_light declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:246: error: Public symbol drawable/abc_list_selector_background_transition_holo_dark declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:247: error: Public symbol drawable/abc_list_selector_background_transition_holo_light declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:290: error: Public symbol drawable/abc_list_selector_disabled_holo_dark declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:291: error: Public symbol drawable/abc_list_selector_disabled_holo_light declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:248: error: Public symbol drawable/abc_list_selector_holo_dark declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:249: error: Public symbol drawable/abc_list_selector_holo_light declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:292: error: Public symbol drawable/abc_menu_hardkey_panel_mtrl_mult declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:293: error: Public symbol drawable/abc_popup_background_mtrl_mult declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:250: error: Public symbol drawable/abc_ratingbar_indicator_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:251: error: Public symbol drawable/abc_ratingbar_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:252: error: Public symbol drawable/abc_ratingbar_small_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:294: error: Public symbol drawable/abc_scrubber_control_off_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:295: error: Public symbol drawable/abc_scrubber_control_to_pressed_mtrl_000 declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:296: error: Public symbol drawable/abc_scrubber_control_to_pressed_mtrl_005 declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:297: error: Public symbol drawable/abc_scrubber_primary_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:298: error: Public symbol drawable/abc_scrubber_track_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:253: error: Public symbol drawable/abc_seekbar_thumb_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:254: error: Public symbol drawable/abc_seekbar_tick_mark_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:255: error: Public symbol drawable/abc_seekbar_track_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:299: error: Public symbol drawable/abc_spinner_mtrl_am_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:256: error: Public symbol drawable/abc_spinner_textfield_background_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:257: error: Public symbol drawable/abc_switch_thumb_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:300: error: Public symbol drawable/abc_switch_track_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:258: error: Public symbol drawable/abc_tab_indicator_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:301: error: Public symbol drawable/abc_tab_indicator_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:259: error: Public symbol drawable/abc_text_cursor_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:302: error: Public symbol drawable/abc_textfield_activated_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:303: error: Public symbol drawable/abc_textfield_default_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:304: error: Public symbol drawable/abc_textfield_search_activated_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:305: error: Public symbol drawable/abc_textfield_search_default_mtrl_alpha declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:260: error: Public symbol drawable/abc_textfield_search_material declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:306: error: Public symbol drawable/ic_launcher declared here is not defined.
D:\Dev\Work\App\3-Out\myapp.apk\res\values\public.xml:261: error: Public symbol drawable/logo declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\tifaout\AppData\Local\Temp\brut_util_Jar_6108797361412726932.tmp, p, --forced-package-id, 127, --min-sdk-version, 9, --target-sdk-version, 24, --version-code, 7, --version-name, 1.6, -F, C:\Users\tifaout\AppData\Local\Temp\APKTOOL3994081997485838521.tmp, -0, arsc, -0, arsc, -I, D:\Dev\Work\App\1-BDFreak\Frameworks\1.apk, -S, D:\Dev\Work\App\3-Out\myapp.apk\res, -M, D:\Dev\Work\App\3-Out\myapp.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:472)
at brut.androlib.Androlib.buildResources(Androlib.java:410)
at brut.androlib.Androlib.build(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:268)
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: [C:\Users\tifaout\AppData\Local\Temp\brut_util_Jar_6108797361412726932.tmp, p, --forced-package-id, 127, --min-sdk-version, 9, --target-sdk-version, 24, --version-code, 7, --version-name, 1.6, -F, C:\Users\tifaout\AppData\Local\Temp\APKTOOL3994081997485838521.tmp, -0, arsc, -0, arsc, -I, D:\Dev\Work\App\1-BDFreak\Frameworks\1.apk, -S, D:\Dev\Work\App\3-Out\myapp.apk\res, -M, D:\Dev\Work\App\3-Out\myapp.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:425)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:458)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\tifaout\AppData\Local\Temp\brut_util_Jar_6108797361412726932.tmp, p, --forced-package-id, 127, --min-sdk-version, 9, --target-sdk-version, 24, --version-code, 7, --version-name, 1.6, -F, C:\Users\tifaout\AppData\Local\Temp\APKTOOL3994081997485838521.tmp, -0, arsc, -0, arsc, -I, D:\Dev\Work\App\1-BDFreak\Frameworks\1.apk, -S, D:\Dev\Work\App\3-Out\myapp.apk\res, -M, D:\Dev\Work\App\3-Out\myapp.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
... 6 more
------------------------------------------------------
thanks
@BDFreak
Wait
narutam said:
Hi I use advanced apktool v4.2.0 and I have a probleme whene I try to Recompiling my app I attached the error... thanks
Click to expand...
Click to collapse
Try posting your question on the Apktool thread here.
http://forum.xda-developers.com/showthread.php?t=1755243
Good Luck!
"Live Long and Prosper..."
~Ambassador S'chn T'gai Spock
Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise
Look at the very top of the log. It is telling you that you have a bad patch 9 file. Fix that and you should be fine.