Build framework-res.apk? - Android Software Development

I have already dexcode the framework-res.apk, the tool which I used is named "apktool".
And I have done it like this,
apktool if framework-res.apk;
apktool if twframework-res.apk;
apktool d framework-res.apk;
There is no any warnings or errors alarm, and out for framework-res directory and resources.
After I modify some part of *.xml, I type
apktool b reamework-res
it got some errors.
Please help me, why that happend?
----------------------------------------
log:
G:\Android\Tools\apk>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'RestrictedOnSms' has no default translation in G:\Android
\Tools\apk\framework-res\res; found: zh_CN zh_TW
aapt: warning: string 'RestrictedOnVoiceData' has no default translation in G:\A
ndroid\Tools\apk\framework-res\res; found: zh_CN zh_TW
.......................
aapt: warning: string 'zzz_screen_captured_succeed' has no default translation i
n G:\Android\Tools\apk\framework-res\res; found: zh_CN
I: Building apk file...
---------------------
After I repack the framework-res.apk and update the update.zip, the device was stuck at the booting time. How to make the framework-res.apk to get the right way to boot the device?

Related

[Q] Building CM9/AOSP, gsm_alphabet_default_charset has no translation

So I'm trying to build AOSP/CM9 repo but now I'm failing on this error:
Code:
aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
frameworks/base/core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml:56: error: Error: String types not allowed (at 'layout_width' with value 'wrap_parent').
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
All I can find is old pastebin dumps but no threads with a solution Anyone know anything about this?

Error compiling APK for i9505 (SOLVED)

Hi all!
I get these errors compiling apk's even without changes:
Code:
invalid resource directory name: ........\res/drawable-land-xxhdpi
invalid resource directory name: ........\res/drawable-sw359dp-port-xxhdpi
etc etc etc
framework installed ok to 1.apk
twframework installed ok to 2.apk
SOLUTIONS
Problem 1: invalid resource directory name: ........\res/drawable-land-xxhdpi, etc etc
-Be sure you are using an updated aapt.
Problem 2: Errors with styles when compiling
-Thanks to user .malo2000 for his solution:
-Extract files system_bar_notification_panel_title.xml and system_bar_settings_view.xml from apk. Decompile apk without these files, make changes, compile again and then push system_bar_notification_panel_title.xml and system_bar_settings_view.xml into apk. Remember to zipalign apk when finished.
Install SystemUI.apk also from system/app/
Nd try
Nd make sure if u changed ny pngs check out is it renamed properly
Installed systemui as 127.apk but no luck, same errors.
I did not changes at the moment. Just can't get compiling again.
I tried to add ids 2 and 127 to apktool.yml and no luck.
I got similar errors for SecContacts.. Looks like there are more dependent frameworks...
Sent from my GT-I9500 using Tapatalk 2
Tried installing MMAppFramework as 127 and added to yml file and same errors....
Hi guys. I've found a solution to compile it. But there´s a problem with apktool, I think...
Renamed the directories name ending with xxhdpi to xhdpi. Compiles ok, no errors. But obviously, apps compiled with this method does not work. Tested with SamsungCamera2, black screen and then FC.
How can we deal with that? Expect a new release of apktool?
PD: issue opened.
Ok, problem solved.
I was using an outdated aapt file. For those that have this problem, check aptktool and aapt version.
Now compiling ok.
Hope this helps.
cybdani said:
Ok, problem solved.
I was using an outdated aapt file. For those that have this problem, check aptktool and aapt version.
Now compiling ok.
Hope this helps.
Click to expand...
Click to collapse
I have all updated in my apktool, also aapt (but last version is dated 23december), but i have every time the same problems to compile. I watch everytime here http://forum.xda-developers.com/showthread.php?p=28366939. You found aapt file update from another link/thread?
bluflight said:
I have all updated in my apktool, also aapt (but last version is dated 23december), but i have every time the same problems to compile. I watch everytime here http://forum.xda-developers.com/showthread.php?p=28366939. You found aapt file update from another link/thread?
Click to expand...
Click to collapse
Download from official site here https://code.google.com/p/android-apktool/downloads/detail?name=apktool1.5.2.tar.bz2&can=2&q=
Dated 2 feb 2013
cybdani said:
Download from official site here https://code.google.com/p/android-apktool/downloads/detail?name=apktool1.5.2.tar.bz2&can=2&q=
Dated 2 feb 2013
Click to expand...
Click to collapse
Thanks for the help but for me not work.. This from official site be the same i update last time. I work on S2 and i have no problems, only now with 9505 i have this problems, and i know very much people have the same issue..
bluflight said:
Thanks for the help but for me not work.. This from official site be the same i update last time. I work on S2 and i have no problems, only now with 9505 i have this problems, and i know very much people have the same issue..
Click to expand...
Click to collapse
yepp, I'm in the same boat mate
Tried wanam's apkmanager,but no success
bluflight said:
Thanks for the help but for me not work.. This from official site be the same i update last time. I work on S2 and i have no problems, only now with 9505 i have this problems, and i know very much people have the same issue..
Click to expand...
Click to collapse
I suggest you to use all files in last version from a new folder. Then reinstall framework-res, twframework and systemui.
I dont't know why is not working for you.
I've decompiled, modified and recompiled some files.
cybdani said:
I suggest you to use all files in last version from a new folder. Then reinstall framework-res, twframework and systemui.
I dont't know why is not working for you.
I've decompiled, modified and recompiled some files, including framework-res without problems.
Click to expand...
Click to collapse
i have tried the aapt + apktool files from all of the above mentioned sites and additionally tried the aapt file from the latest sdk and it still does not compile for me. would you mind posting the aapt and apktool files that you're using?
thx
hocgwai said:
i have tried the aapt + apktool files from all of the above mentioned sites and additionally tried the aapt file from the latest sdk and it still does not compile for me. would you mind posting the aapt and apktool files that you're using?
thx
Click to expand...
Click to collapse
Yes, here are attached to this post.
Using java 6 (x86) as path on win7 x64.
Hope this helps.
cybdani said:
Yes, here are attached to this post.
Using java 6 (x86) as path on win7 x64.
Hope this helps.
Click to expand...
Click to collapse
big thanks, i will give it a try and post my results
update:
still does not compile for me. still getting brut errors. here are my cmd logs if anyone can help:
C:\apktool>apk152 d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\apktool>apk152 b framework-res framework-res.new.zip
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'default_audio_route_name_hdmi' has no default translation
in C:\apktool\framework-res\res; found: en_GB es
aapt: warning: string 'default_permission_group' has no default translation in C
:\apktool\framework-res\res; found: en_GB es
aapt: warning: string 'perms_hide' has no default translation in C:\apktool\fram
ework-res\res; found: en_GB es
aapt: warning: string 'perms_show_all' has no default translation in C:\apktool\
framework-res\res; found: en_GB es
aapt: warning: string 'securekeypad_restrict' has no default translation in C:\a
pktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg' has no default translation in
C:\apktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_all' has no default translation
in C:\apktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_applicationmanager' has no defa
ult translation in C:\apktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_more' has no default translatio
n in C:\apktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_settings' has no default transl
ation in C:\apktool\framework-res\res; found: zh_CN zh_HK
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\admin\AppData\Local\Temp
\APKTOOL162543892235437466.tmp, -x, -0, arsc, -S, C:\apktool\framework-res\res,
-M, C:\apktool\framework-res\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\admin\AppData\Local\Temp\APKTOOL162543892235437466.tmp, -x, -0, arsc, -S,
C:\apktool\framework-res\res, -M, C:\apktool\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\admin\AppData\Local\Temp\A
PKTOOL162543892235437466.tmp, -x, -0, arsc, -S, C:\apktool\framework-res\res, -M
, C:\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\apktool\framework-res\res\layout\keyguard_screen_password_landscape.xml:22: e
rror: Error: No resource found that matches the given name (at 'layout' with val
ue '@layout/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_password_portrait.xml:22: er
ror: Error: No resource found that matches the given name (at 'layout' with valu
e '@layout/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_tab_unlock.xml:23: error: Er
ror: No resource found that matches the given name (at 'layout' with value '@lay
out/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_tab_unlock_land.xml:17: erro
r: Error: No resource found that matches the given name (at 'layout' with value
'@layout/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_unlock_landscape.xml:18: err
or: Error: No resource found that matches the given name (at 'layout' with value
'@layout/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_unlock_portrait.xml:23: erro
r: Error: No resource found that matches the given name (at 'layout' with value
'@layout/keyguard_transport_control').
C:\apktool>
hocgwai said:
big thanks, i will give it a try and post my results
update:
still does not compile for me. still getting brut errors. here are my cmd logs if anyone can help:
C:\apktool>apk152 d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\apktool>apk152 b framework-res framework-res.new.zip
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'default_audio_route_name_hdmi' has no default translation
in C:\apktool\framework-res\res; found: en_GB es
aapt: warning: string 'default_permission_group' has no default translation in C
:\apktool\framework-res\res; found: en_GB es
aapt: warning: string 'perms_hide' has no default translation in C:\apktool\fram
ework-res\res; found: en_GB es
aapt: warning: string 'perms_show_all' has no default translation in C:\apktool\
framework-res\res; found: en_GB es
aapt: warning: string 'securekeypad_restrict' has no default translation in C:\a
pktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg' has no default translation in
C:\apktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_all' has no default translation
in C:\apktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_applicationmanager' has no defa
ult translation in C:\apktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_more' has no default translatio
n in C:\apktool\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_settings' has no default transl
ation in C:\apktool\framework-res\res; found: zh_CN zh_HK
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\admin\AppData\Local\Temp
\APKTOOL162543892235437466.tmp, -x, -0, arsc, -S, C:\apktool\framework-res\res,
-M, C:\apktool\framework-res\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\admin\AppData\Local\Temp\APKTOOL162543892235437466.tmp, -x, -0, arsc, -S,
C:\apktool\framework-res\res, -M, C:\apktool\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\admin\AppData\Local\Temp\A
PKTOOL162543892235437466.tmp, -x, -0, arsc, -S, C:\apktool\framework-res\res, -M
, C:\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\apktool\framework-res\res\layout\keyguard_screen_password_landscape.xml:22: e
rror: Error: No resource found that matches the given name (at 'layout' with val
ue '@layout/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_password_portrait.xml:22: er
ror: Error: No resource found that matches the given name (at 'layout' with valu
e '@layout/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_tab_unlock.xml:23: error: Er
ror: No resource found that matches the given name (at 'layout' with value '@lay
out/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_tab_unlock_land.xml:17: erro
r: Error: No resource found that matches the given name (at 'layout' with value
'@layout/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_unlock_landscape.xml:18: err
or: Error: No resource found that matches the given name (at 'layout' with value
'@layout/keyguard_transport_control').
C:\apktool\framework-res\res\layout\keyguard_screen_unlock_portrait.xml:23: erro
r: Error: No resource found that matches the given name (at 'layout' with value
'@layout/keyguard_transport_control').
C:\apktool>
Click to expand...
Click to collapse
im getting the same errors when trying to Compile framework-res.apk
cybdani said:
Yes, here are attached to this post.
Using java 6 (x86) as path on win7 x64.
Hope this helps.
Click to expand...
Click to collapse
Thanks for your files....could you try decompile and compile systemui.apk? I've deodexed I9505 fw with latest kitchen with api setted on 17 and using apktool and apk manager (updated with the latest file) I can decompile but I have errors in compiling :banghead:
Inviato dal mio GT-I9505 con Tapatalk 2
.malo2000 said:
Thanks for your files....could you try decompile and compile systemui.apk? I've deodexed I9505 fw with latest kitchen with api setted on 17 and using apktool and apk manager (updated with the latest file) I can decompile but I have errors in compiling :banghead:
Inviato dal mio GT-I9505 con Tapatalk 2
Click to expand...
Click to collapse
Not tried to recompile systemui before. I have errors too compiling but different errors than first post.
This time are /@style errors.
Well, I'll take a look to resources to know more about it. These style errors are here system_bar_notification_panel_title.xml. But not defined here: styles.xml.
Seems that this is reported as issue accepted with framework-res here http://code.google.com/p/android-ap...tus Priority Milestone Owner Summary Modified
Someone have a deodexed and zipaligned rom installed (i9505)?
Please, can someone check (deodexed rom) if this apk is working or you are getting FC?
It's deodexed and zipaligned samsungcamera2.apk modified to use camera with battery at -5%
Link: https://www.box.com/s/5fpgwkgi2xwnqmgae7ga
cybdani said:
Someone have a deodexed and zipaligned rom installed?
Please, can someone check (deodexed rom) if this apk is working or you are getting FC?
It's deodexed and zipaligned samsungcamera2.apk modified to use camera with battery at -5%
Link: https://www.box.com/s/5fpgwkgi2xwnqmgae7ga
Click to expand...
Click to collapse
I run my own deodexed slim rom on my 9500.
Full battery right now so cant test at low 5% tho

Error compile apk [problem partially solved]

Hi xda people!!!
I start this thread to help those who have trouble building apk
I was inspired by this thread started by cybdani and thank him for reporting the problem.
It isn't a real solution...but a way to bypass the problem
If you have problem building apk (with apktool/apk manager) you have to:
1) Update file aapt and apktool (download them from here)
2) Search for the type of error in log
3) Look here for solution (thanks to connor.tumbleson
Example taked by my systemui.apk
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\Silvia\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL7613493943368638322.tmp, -0, arsc, -I, C:\Users\Silvia\apktool\framework\1.apk, -S, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res, -M, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL7613493943368638322.tmp, -0, arsc, -I, C:\Users\Silvia\apktool\framework\1.apk, -S, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res, -M, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL7613493943368638322.tmp, -0, arsc, -I, C:\Users\Silvia\apktool\framework\1.apk, -S, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res, -M, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Click to expand...
Click to collapse
I had some style's errors in system_bar_notification_panel_title.xml and system_bar_settings_view.xml...so I try solve them by extracting them before decompile and push them into apk after rebuilding.
With connor.tumbleson'solution I have add a + before any style-error file ( @style/SystemBarNotificationText becomes + @style/SystemBarNotificationText ) and all works well :good:
I hope aapt and apktool file will be updated as soon as possible....until then we can modify our apks bypassing errors
Thanks for the info!
I hope that apktool will be updated too :good:
.malo2000 said:
Hi xda people!!!
I start this thread to help those who have trouble building apk
I was inspired by this thread started by cybdani and thank him for reporting the problem.
It isn't a real solution...but a way to bypass the problem
If you have problem building apk (with apktool/apk manager) you have to:
1) Update file aapt and apktool (download them from here)
2) Search for the type of error in log
3) Look here for solution (thanks to connor.tumbleson
Example taked by my systemui.apk
I had some style's errors in system_bar_notification_panel_title.xml and system_bar_settings_view.xml...so I try solve them by extracting them before decompile and push them into apk after rebuilding.
With connor.tumbleson'solution I have add a + before any style-error file ( @style/SystemBarNotificationText becomes @style/SystemBarNotificationText ) and all works well :good:
I hope aapt and apktool file will be updated as soon as possible....until then we can modify our apks bypassing errors
Click to expand...
Click to collapse
Good job my friend both solutions temporarily resolved this problems, but and i think must be update apktool as soon as possibile :good:
bluflight said:
Good job my friend both solutions temporarily resolved this problems, but and i think must be update apktool as soon as possibile :good:
Click to expand...
Click to collapse
Of course it is the more important thing :thumbup:
Inviato dal mio GT-I9505 con Tapatalk 2
waitting aapt update,current aapt is R16
zhangqip said:
waitting aapt update,current aapt is R16
Click to expand...
Click to collapse
Yes...we need aapt update, but we can turn around compiling problems by reading the log file
Inviato dal mio GT-I9505 con Tapatalk 2
so.. adding + before that style error and then compile? can i copy that new SystemUI.apk with ES File Explorer to that /system/app folder?
or how? now my status bar is gone.. can someone upload SystemUI.apk for me? I9505XXUAMDN...
Vihru said:
so.. adding + before that style error and then compile? can i copy that new SystemUI.apk with ES File Explorer to that /system/app folder?
or how? now my status bar is gone.. can someone upload SystemUI.apk for me? I9505XXUAMDN...
Click to expand...
Click to collapse
Show your log file.... Yes, I added a + before @style errors and then it works
Inviato dal mio GT-I9100 con Tapatalk 2
.malo2000 said:
Show your log file.... Yes, I added a + before @style errors and then it works
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
here log file.. but can someone give that systemUI.apk, now i havent statusbar ;/
F:\apktool>apktool b system testi.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default tran
slation in F:\apktool\system\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default tran
slation in F:\apktool\system\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'am' has no default translation in F:\apktool\system\res;
found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translatio
n in F:\apktool\system\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in F:\apktoo
l\system\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in F:\apkto
ol\system\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in F:\apktool
\system\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in F:\apktool
\system\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in F:\apktoo
l\system\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in F:\apktool\
system\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translatio
n in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translatio
n in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translatio
n in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translati
on in F:\apktool\system\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in F:\a
pktool\system\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in F:\a
pktool\system\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in F:\apkto
ol\system\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in F:\apkto
ol\system\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in F:\apktoo
l\system\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in F:\a
pktool\system\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in F:\
apktool\system\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in F:\a
pktool\system\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in F:\
apktool\system\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in F:\
apktool\system\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'pm' has no default translation in F:\apktool\system\res;
found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in
F:\apktool\system\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in
F:\apktool\system\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in
F:\apktool\system\res; found: zh_HK
aapt: warning: string 'today' has no default translation in F:\apktool\system\re
s; found: mk
aapt: warning: string 'tomorrow' has no default translation in F:\apktool\system
\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'yesterday' has no default translation in F:\apktool\syste
m\res; found: mk
I: Building apk file...
F:\apktool>
Vihru said:
here log file.. but can someone give that systemUI.apk, now i havent statusbar ;/
Click to expand...
Click to collapse
Here u go
so have anybody get systemUI modded? please share your results.. i want change clock color and other things..
Vihru said:
so have anybody get systemUI modded? please share your results.. i want change clock color and other things..
Click to expand...
Click to collapse
I have decompiled systemui posted you by DocRambone...I'll post you the one with error style solved :good:
Here you find systemui.apk (mdn) with style errors solved
.malo2000 said:
I have decompiled systemui posted you by DocRambone...I'll post you the one with error style solved :good:
Here you find systemui.apk (mdn) with style errors solved
Click to expand...
Click to collapse
i can compile that, then edit, and when decompile it back, it should work? thanks a lot!
Vihru said:
i can compile that, then edit, and when decompile it back, it should work? thanks a lot!
Click to expand...
Click to collapse
Sure... If you modded it in the right way
Inviato dal mio.... Non ricordo più
.malo2000 said:
Sure... If you modded it in the right way
Inviato dal mio.... Non ricordo più
Click to expand...
Click to collapse
not working.. i tried make 1% battery mod.. no statusbar at all.. something is messed up with this..
I have insert it without problem...perhaps you have missed something do you have recovery? I can try to do a zip for you....
.malo2000 said:
I have insert it without problem...perhaps you have missed something do you have recovery? I can try to do a zip for you....
Click to expand...
Click to collapse
im using apktool and if compile that systemUI.apk, it is 2.75mb before.. and when dont edit anything and compile it back, it was something like 1.9mb.. so how it can be different size that i even dont edit anything.. very wierd.
Vihru said:
im using apktool and if compile that systemUI.apk, it is 2.75mb before.. and when dont edit anything and compile it back, it was something like 1.9mb.. so how it can be different size that i even dont edit anything.. very wierd.
Click to expand...
Click to collapse
What apktool's version do you use? Try download latest from here http://code.google.com/p/android-apktool/downloads/list
Inviato dal mio GT-I9505 con Tapatalk 2
.malo2000 said:
What apktool's version do you use? Try download latest from here http://code.google.com/p/android-apktool/downloads/list
Inviato dal mio GT-I9505 con Tapatalk 2
Click to expand...
Click to collapse
yes im using latest.. so what next?
Vihru said:
yes im using latest.. so what next?
Click to expand...
Click to collapse
So....try with apk manager , put in other folder your framework-res, twframework-res and systemui. Install them with command prompt, decompile e build (without change) ssytemui I posted you. In apk manager folder you'll have a log file and if you get errors in building...post me it

Problems compiling SystemUI.apk

I'm trying to follow the guide in the general android section for decompiling/compiling SystemUI.apk for 4.2.2 but am running into problems with apktool. Details are here: http://forum.xda-developers.com/showthread.php?t=1814441&page=32
I get as far as decompiling and modifying files without any problem, but re-compiling (even when unmodified) with apktool results in the following errors:
Code:
C:\Users\Public\Documents\Android\apktool>apktool b SystemUI almostdone.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default tran
slation in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default tran
slation in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'am' has no default translation in C:\Users\Public\Documen
ts\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translatio
n in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\Users\
Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\Users
\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\Users\P
ublic\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\Users\P
ublic\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\Users\
Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\Users\Pu
blic\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translatio
n in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translatio
n in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translatio
n in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found:Exception in t
hread "main" C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\syste
m_bar_notification_panel_title.xml:14: error: Error: No resource found that matc
hes the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_notific
ation_panel_title.xml:19: error: Error: No resource found that matches the given
name (at 'style' with value '@style/SystemBarNotificationText').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_notific
ation_panel_title.xml:21: error: Error: No resource found that matches the given
name (at 'style' with value '@style/SystemBarNotificationText').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:5: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:6: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:7: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:10: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:11: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:12: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:13: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:15: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:16: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:17: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:18: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:21: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:22: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:23: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:26: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:27: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:28: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:29: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:32: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:33: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:34: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:35: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:37: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-s
dk-version, 17, -F, C:\Users\[removed]\AppData\Local\Temp\APKTOOL6455675562911469
390.tmp, -0, arsc, -I, C:\Users\[removed]\apktool\framework\1.apk, -S, C:\Users
\Public\Documents\Android\apktool\SystemUI\res, -M, C:\Users\Public\Documents\An
droid\apktool\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\[removed]\AppData\Local\Temp\APKTOOL6455675562911469390.tmp, -0, arsc, -I,
C:\Users\[removed]\apktool\framework\1.apk, -S, C:\Users\Public\Documents\Andr
oid\apktool\SystemUI\res, -M, C:\Users\Public\Documents\Android\apktool\SystemUI
\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\[removed]\AppData\Local\Tem
p\APKTOOL6455675562911469390.tmp, -0, arsc, -I, C:\Users\[removed]\apktool\fram
ework\1.apk, -S, C:\Users\Public\Documents\Android\apktool\SystemUI\res, -M, C:\
Users\Public\Documents\Android\apktool\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
mk
aapt: warning: string 'month_long_standalone_september' has no default translati
on in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\U
sers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\U
sers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\Users
\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\Users
\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\Users\
Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\U
sers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\
Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\U
sers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\
Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\
Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\Users\Public\Documen
ts\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: zh_HK
aapt: warning: string 'today' has no default translation in C:\Users\Public\Docu
ments\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\Users\Public\D
ocuments\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\Users\Public\
Documents\Android\apktool\SystemUI\res; found: mk
This is with stock, odexed XXUAMDC and installing framework-res.apk, twframework-res.apk and SystemUI.apk with apktool. My apktool and SDK are up to date. Does anyone have any idea what's going wrong here?
Found the solution now, even if it's an ugly one: http://forum.xda-developers.com/showthread.php?t=2263664
First off don't worry about the translation errors.
All of the other errors apktool is telling you what the issue is. Did you copy and past your edits?
Because it is telling you there are no resources to match your edits and it's telling you exactly where the error is. Just follow the errors to the listed xml.
Sent from my HTC6435LVW using xda premium
fernando sor said:
First off don't worry about the translation errors.
All of the other errors apktool is telling you what the issue is. Did you copy and past your edits?
Because it is telling you there are no resources to match your edits and it's telling you exactly where the error is. Just follow the errors to the listed xml.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
It wasn't to do with the edits, it refuses to compile SystemUI.apk even without any changes. But following the advice here about removing/re-adding system_bar_settings_view.xml and system_bar_notification_panel_title.xml allows you to get around this and compile the apk. From what others have written, I presume this is an issue with the current apktool.
XTCrefugee said:
It wasn't to do with the edits, it refuses to compile SystemUI.apk even without any changes. But following the advice here about removing/re-adding system_bar_settings_view.xml and system_bar_notification_panel_title.xml allows you to get around this and compile the apk. From what others have written, I presume this is an issue with the current apktool.
Click to expand...
Click to collapse
Yes you have to add the missing references. Your aware that apktool is telling your what your missing right? You either rewrite those are add them in manually.
Also make sure you have the latest aapt and apktool from Ibotpeaches. 1.5.3 I believe
Sent from my HTCONE using xda premium
fernando sor said:
Yes you have to add the missing references. Your aware that apktool is telling your what your missing right? You either rewrite those are add them in manually.
Also make sure you have the latest aapt and apktool from Ibotpeaches. 1.5.3 I believe
Sent from my HTCONE using xda premium
Click to expand...
Click to collapse
Yes, I'd gathered that it had to do with the missing "style/SystemBarNotificationText" etc. but I've no idea where to actually find the missing styles referenced in system_bar_settings_view.xml and system_bar_notification_panel_title.xml. The fix of not decompiling/re-compiling those files works well enough for me, but the 'real' fix would be to find and add those I guess.
XTCrefugee said:
Yes, I'd gathered that it had to do with the missing "style/SystemBarNotificationText" etc. but I've no idea where to actually find the missing styles referenced in system_bar_settings_view.xml and system_bar_notification_panel_title.xml. The fix of not decompiling/re-compiling those files works well enough for me, but the 'real' fix would be to find and add those I guess.
Click to expand...
Click to collapse
Yes you can completely rewrite xml. Usually as long as it will decompile you can find a fix. You can add xmls to values that were not there to begin with.
We have had projects where we have added numerous ids, xmls to existing system apps. Usually when you are building ids and values you just follow the errors and keep fixing until it compiles.
Sent from my HTC6435LVW using xda premium
fernando sor said:
Yes you can completely rewrite xml. Usually as long as it will decompile you can find a fix. You can add xmls to values that were not there to begin with.
We have had projects where we have added numerous ids, xmls to existing system apps. Usually when you are building ids and values you just follow the errors and keep fixing until it compiles.
Click to expand...
Click to collapse
But what I mean is I have no idea where the source of those missing styles from those two xml files are. Without randomly decompiling other system files until I find their source, it would be a bit difficult to add them.
XTCrefugee said:
But what I mean is I have no idea where the source of those missing styles from those two xml files are. Without randomly decompiling other system files until I find their source, it would be a bit difficult to add them.
Click to expand...
Click to collapse
Yes for some reason it is erroring out. But you can see that a lot of the errors are missing references in styles. So you just add the reference.
Sent from my HTC6435LVW using xda premium
fernando sor said:
Yes for some reason it is erroring out. But you can see that a lot of the errors are missing references in styles. So you just add the reference.
Click to expand...
Click to collapse
I'm afraid I don't think we're understanding each other on this. I get that I need to add the missing references. But other than "style/SystemBarNotificationText" etc. I have no information about what is missing or what files the styles are in. How can I add references for them, surely I don't have enough information to do so?
XTCrefugee said:
I'm afraid I don't think we're understanding each other on this. I get that I need to add the missing references. But other than "style/SystemBarNotificationText" etc. I have no information about what is missing or what files the styles are in. How can I add references for them, surely I don't have enough information to do so?
Click to expand...
Click to collapse
Where the text style is referenced in an xml in layout. Just delete it and write in a reference in the xml itself. Styles are easy to delete or reroute
Sent from my HTCONE using xda premium
Guys...
It is very simple to solve this problem, just add the sign + before any style error " @style/..."
Example:
@style/SystemBarNotificationText becomes + @style/SystemBarNotificationText
etc...
More information here, thanks connor.tumbleson
softwork_brasil said:
It is very simple to solve this problem, just add the sign + before any style error " style/..."
Click to expand...
Click to collapse
Thanks, and I saw another of connor.tumbleson's replies on the apktool bug tracker explains how to do a "proper" fix too. Worth knowing for theming perfectionists
The correct fix is to move the "private extended" styles into that applications styles.xml. You can look at AOSP styles.xml to get the list of those styles which are private. Then simply add them into that APKs styles and all should work. This was tested and worked with the problematic apks.
Apktool isn't met to "fix" apks. As AAPT becomes more restrictive, Apktool will become more difficult to use. These APKs that have this problem were obviously built with an older AAPT before this was enforced. So this actually is NOT an apktool problem. Just a problem building old vs new aapt.
I am writing a good deal of documentation to explain stuff like this for 2.0, but this bug in particular is not really a bug, but a feature request to somehow automatically re-map privately extended styles automatically into the local styles.
Click to expand...
Click to collapse
See https://code.google.com/p/android-apktool/issues/detail?id=441#c20

Compiling errors with the new I337MVLUAMG1 base (Canada)

Hey guys,
I was wondering whether anybody could successfully recompile the SystemUI.apk from the July update (MVLUAMG1) of the Canadian variant SGH-I337M. I have decompiled/modified/recompiled the SystemUI.apk of the previous base MVLUAMDJ tens of times WITHOUT ANY ISSUES. I have tried various versions of APK Multi Tool with all the latest updates, as well as Tickle My Android 6.0 - ALL UNSUCCESSFUL
Should anybody be interested in testing it, here are the necessary resources
Here is a log from APK Multi Tool:
Code:
|Sun Jul/28/2013 -- 11:34:33.87|
--------------------------------------------------------------------------
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\CN\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'am' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'today' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Thanks!
nacos said:
Hey guys,
I was wondering whether anybody could successfully recompile the SystemUI.apk from the July update (MVLUAMG1) of the Canadian variant SGH-I337M. I have decompiled/modified/recompiled the SystemUI.apk of the previous base MVLUAMDJ tens of times WITHOUT ANY ISSUES. I have tried various versions of APK Multi Tool with all the latest updates, as well as Tickle My Android 6.0 - ALL UNSUCCESSFUL
Should anybody be interested in testing it, here are the necessary resources
Here is a log from APK Multi Tool:
Code:
|Sun Jul/28/2013 -- 11:34:33.87|
--------------------------------------------------------------------------
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\CN\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'am' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'today' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Thanks!
Click to expand...
Click to collapse
try this
in res/layout, delete this .xml
system_bar_notification_panel_title
and
system_bar_settings_view
decompile, make changes and compile
for last, add again this files in res/values
ready
» Arrow « said:
try this
in res/layout, delete this .xml
system_bar_notification_panel_title
and
system_bar_settings_view
decompile, make changes and compile
for last, add again this files in res/values
ready
Click to expand...
Click to collapse
Well, thanks a lot! The suggested trick did it. After I have changed the status bar transparency, the number of icons in the quick settings bar, the size of the date text in the notification bar and some other minor tweaks, I could successfully recompile the SystemUI.apk without any errors, then, as advised I put back the 2 files previously removed ..however, once the SystemUI.apk was replaced, none of the changes had any effect whatsoever - none! Not even after wiping the Dalvik cache & Cache
I did notice some major changes Samsung has made within the SystemUI.apk but I didn't quite expect that. Well I guess I'll have to do some more digging. Anyway, thanks again for your useful advice.
nacos said:
Well, thanks a lot! The suggested trick did it. After I have changed the status bar transparency, the number of icons in the quick settings bar, the size of the date text in the notification bar and some other minor tweaks, I could successfully recompile the SystemUI.apk without any errors, then, as advised I put back the 2 files previously removed ..however, once the SystemUI.apk was replaced, none of the changes had any effect whatsoever - none! Not even after wiping the Dalvik cache & Cache
I did notice some major changes Samsung has made within the SystemUI.apk but I didn't quite expect that. Well I guess I'll have to do some more digging. Anyway, thanks again for your useful advice.
Click to expand...
Click to collapse
ok, remember delete resources.arsc file and folder res before finish compiling
regards
im using wanam apk manager
So you delete the files within the apk before compiling? I removed the files from the build directory and apktool is now throwing an error with the public.xml.
Sent from my SGH-I337M using XDA Premium 4 mobile app
Same Problem I am having, caused bootloops because I deleted it and I couldnt place it back in the compiled apk

Categories

Resources