Related
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
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
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
While using apktool to recompile the contacts apk, SecContacts_OSup.apk, I am getting the following error in cmd. This is unedited folder, and trying to compile it right after de-compilation. But still getting error.
I have tried different aapt, different apktool.jar, both java 6 and 7 and such but to no avail.
D:\apktool\112233>apktool b 11 wert.apk
I: Using Apktool 2.0.0-Beta9 on 11
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
D:\apktool\112233\11\res\layout\photo_selector_view_popup.xml:9: error: Error: No resource found tha
t matches the given name (at 'layout' with value '@layout/photo_updates_header').
aapt: warning: string 'remove_from_namecard_list_popup_title' has no default translation in D:\apkto
ol\112233\11\res; found: zh_SG
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.co
mmon.BrutException: could not exec command: [C:\Users\Keshav\AppData\Local\Temp\brut_util_Jar_7378085
831899028208.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --ve
rsion-code, 19, --version-name, 4.4.2-I9505XXUFNB8, -F, C:\Users\Keshav\AppData\Local\Temp\APKTOOL365
2482745200459136.tmp, -0, arsc, -I, C:\Users\Keshav\apktool\framework\1.apk, -I, C:\Users\Keshav\apkto
ol\framework\2.apk, -S, D:\apktool\112233\11\res, -M, D:\apktool\112233\11\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\U
sers\Keshav\AppData\Local\Temp\brut_util_Jar_7378085831899028208.tmp, p, --forced-package-id, 127, --
min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-I9505XXUFNB
8, -F, C:\Users\Keshav\AppData\Local\Temp\APKTOOL3652482745200459136.tmp, -0, arsc, -I, C:\Users\Kesh
av\apktool\framework\1.apk, -I, C:\Users\Keshav\apktool\framework\2.apk, -S, D:\apktool\112233\11\res
,-M, D:\apktool\112233\11\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Keshav\AppData\Local\Temp\bru
t_util_Jar_7378085831899028208.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk
-version, 19, --version-code, 19, --version-name, 4.4.2-I9505XXUFNB8, -F, C:\Users\Keshav\AppData\Loc
al\Temp\APKTOOL3652482745200459136.tmp, -0, arsc, -I, C:\Users\Keshav\apktool\framework\1.apk, -I, C:
\Users\Keshav\apktool\framework\2.apk, -S, D:\apktool\112233\11\res, -M, D:\apktool\112233\11\Android
Manifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more
Click to expand...
Click to collapse
If I import this raw project into Eclipse I get these 5 errors:
Description Resource Path Location Type
error: Error: No resource found that matches the given name: attr 'android:actionBarNonEmbeded'. styles.xml /DialtactsActivity/res/values-sw360dp-xxhdpi line 10 Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionBarNonEmbeded'. styles.xml /DialtactsActivity/res/values line 10 Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:searchViewTextField'. styles.xml /DialtactsActivity/res/values line 95 Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:actionBarNonEmbeded'. styles.xml /DialtactsActivity/res/values line 661 Android AAPT Problem
error: Error: No resource found that matches the given name: attr 'android:searchViewTextField'. styles.xml /DialtactsActivity/res/values-sw360dp-xxhdpi line 63 Android AAPT Problem
Click to expand...
Click to collapse
Although not the right thing to do, I can remove the line with 'android:actionBarNonEmbeded' in them in Eclipse and there is no problem after deleting those 3 lines. But can't simply delete lines with 'android:searchViewTextField' as it throws up too many other errors, mostly same for other attrs.
I have surfed tons of pages at stackoverflow, xda and some other sites... but couldn't crack a solution. Can't add a simple + to @drawable either, obviously.
Reply by connor.tumbleson here on code.google.com might be answer but I couldn't figure out what to do.
url - code.google.com/p/android-apktool/issues/detail?id=441#c20
So, uh, pls help!
Note: Of course, I'm installing the framreworks first (framework-res.apk, twframework-res.apk and systemUI.apk). And have tried apkMultiTool v3.4 and some other apktool based solutions too. Nothing helped.
keshav13 said:
While using apktool to recompile the contacts apk, SecContacts_OSup.apk, I am getting the following error in cmd
Click to expand...
Click to collapse
look in \res\layout\photo_selector_vie w_popup.xml line 9, u must remove all references to photo_updates_header, common problem, sometimes system apk have been done badly ha ha ha
try this and report
worked but didn't work!
_alex74_ said:
look in \res\layout\photo_selector_vie w_popup.xml line 9, u must remove all references to photo_updates_header, common problem, sometimes system apk have been done badly ha ha ha
try this and report
Click to expand...
Click to collapse
First of all, thansk for the tip!
I removed the layout portion of that line that actually made reference to photo_updates_header file. So, that actually didn't got me those error, but it didn;t build an APK file despite showing exactly that in cmd. Here's what cmd says:
D:\apktool>apktool b c1 111.apk
I: Using Apktool 2.0.0-Beta9 on c1
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'remove_from_namecard_list_popup_title' has no default translation in D:\apkto
ol\c1\res; found: zh_SG
I: Building apk file...
I: Copying unknown files/dir...
There is no APK file built, tho. Which is bad, and surprising. What do you suggest?
[I'm using apktool 2.0 beta9, and have Java 7 installed on Win8.1.]
Edit:
Is there a way how I should remove the reference to photo_updates_header file? Should I just delete the whole of line 9 that is making the reference?
keshav13 said:
First of all, thansk for the tip!
Is there a way how I should remove the reference to photo_updates_header file? Should I just delete the whole of line 9 that is making the reference?
Click to expand...
Click to collapse
as posted apk must be builded in dist folder of your decompiled apk , no errors that says different.
that reference is about missing traslation, just warning u can keep it(no harm in apk compiling) or add a line like this:
<string name="photo_updates_header">photo updates header</string>
Click to expand...
Click to collapse
in res/values/strings.xml on bottom of all strings
lemme know
Nope :/
_alex74_ said:
as posted apk must be builded in dist folder of your decompiled apk , no errors that says different.
that reference is about missing traslation, just warning u can keep it(no harm in apk compiling) or add a line like this:
in res/values/strings.xml on bottom of all strings
lemme know
Click to expand...
Click to collapse
Hi _alex74_,
Adding the line <string name="photo_updates_header">photo updates header</string> didn't work. Very sad.
Please suggest something else.
Can you reproduce the problem at your end? Can you recompile it or not even when it's untouched?
Here's the link to contacts APK that's been torturing me: __www24.zippyshare.com/v/59685951/file.html__
Thanks a lot!
What causes the below error ?
I've been trying hours to figure out. Im trying to recompile secsettings.apk with AppOps Mod.
--------------------------------------------------------------------------
|Fri 04/10/2015 -- 11:00:02.89|
--------------------------------------------------------------------------
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
warning: string 'SS_EVENT_NOTIFICATIONS_WILL_BE_DISPLAYED_ON_NEW_YEARS_DAY_LUNAR
_NEW_YEAR_VALENTINES_DAY_MSG_SEA' has no default translation.
warning: string 'SS_THEMED_WALLPAPER_WILL_BE_APPLIED_ON_NEW_YEARS_DAY_LUNAR_NEW_
YEAR_VALENTINES_DAY_MSG_SEA' has no default translation.
warning: string 'accessibility_display_title' has no default translation.
warning: string 'accessibility_screen_magnification_summary' has no default tran
slation.
warning: string 'app_notification_priority_summary_dnd' has no default translati
on.
warning: string 'app_notifications_dialog_priority' has no default translation.
warning: string 'app_notifications_dialog_show' has no default translation.
warning: string 'app_notifications_dialog_visibility' has no default translation
.
warning: string 'battery_saver_always_on_title' has no default translation.
warning: string 'battery_saver_description' has no default translation.
warning: string 'bluetooth_message_access' has no default translation.
warning: string 'bluetooth_preference_paired_dialog_use_label' has no default tr
anslation.
warning: string 'call_roaming_customer_center' has no default translation.
warning: string 'call_roaming_customer_center_body' has no default translation.
warning: string 'cancel_button' has no default translation.
warning: string 'cardCrash' has no default translation.
warning: string 'carrier_match_accept' has no default translation.
warning: string 'carrier_match_auto_sync' has no default translation.
warning: string 'carrier_match_auto_sync_disclaimer' has no default translation.
warning: string 'carrier_match_decline' has no default translation.
warning: string 'carrier_match_last_sync' has no default translation.
warning: string 'carrier_match_smartcsp' has no default translation.
warning: string 'carrier_match_smartcsp_summary' has no default translation.
warning: string 'choose_input_methods' has no default translation.
warning: string 'crypt_keeper_desc_vzw8' has no default translation.
warning: string 'crypt_keeper_processing_msg' has no default translation.
warning: string 'default_area_code' has no default translation.
warning: string 'default_area_code_summary' has no default translation.
warning: string 'device_info_fcc_cert' has no default translation.
warning: string 'dnd_description_na' has no default translation.
warning: string 'dnd_description_wifi' has no default translation.
warning: string 'easy_mode_j_vzw' has no default translation.
warning: string 'eid_networkerror_message' has no default translation.
warning: string 'enable_quickboot_summary' has no default translation.
warning: string 'enable_quickboot_title' has no default translation.
warning: string 'fingerprint_change_backup_password' has no default translation.
warning: string 'location_category_enhanced_location' has no default translation
.
warning: string 'mirror_link_no_apps' has no default translation.
warning: string 'no_exceptions' has no default translation.
warning: string 'ok_button' has no default translation.
warning: string 'ok_button_wifi_off' has no default translation.
warning: string 'percentage' has no default translation.
warning: string 'personal_page_secretbox_disclaimer_message_vzw' has no default
translation.
warning: string 'power_discharging' has no default translation.
warning: string 'print_download_subtitle' has no default translation.
warning: string 'screen_pinning_description_wifi' has no default translation.
warning: string 'select_location_title' has no default translation.
warning: string 'set_exceptions' has no default translation.
warning: string 'set_schedule' has no default translation.
warning: string 'settings_unable_flight_mode_warning' has no default translation
.
warning: string 'ss_to_set_your_birthday_go_to_contacts_me' has no default trans
lation.
warning: string 'ts_unable_to_turn_on_torch_camera_light_being_used_by_activity_
zone' has no default translation.
warning: string 'unlock_set_unlock_enterprise_identity_title' has no default tra
nslation.
warning: string 'user_summary_managed_profile_not_enabled' has no default transl
ation.
warning: string 'webview_data_reduction_proxy' has no default translation.
warning: string 'webview_data_reduction_proxy_summary' has no default translatio
n.
warning: string 'wifi_ap_unavailable_while_bt_or_usb_tethering_active' has no de
fault translation.
warning: string 'wifi_assistant_change_message' has no default translation.
warning: string 'wifi_assistant_change_title' has no default translation.
warning: string 'wifi_hs20_noti_connected_msg' has no default translation.
warning: string 'wifi_hs20_noti_connected_operator_msg' has no default translati
on.
warning: string 'wifi_hs20_noti_connected_title' has no default translation.
warning: string 'wifi_share_profile_empty_candidate_aps' has no default translat
ion.
warning: string 'zen_mode_events_summary_na' has no default translation.
C:\APK-Multi-Tool-2.0\projects\SecSettings.apk\res\values\strings.xml:8339: erro
r: Resource entry app_ops_settings_summary is already defined.
C:\APK-Multi-Tool-2.0\projects\SecSettings.apk\res\values\strings.xml:2436: Orig
inally defined here.
C:\APK-Multi-Tool-2.0\projects\SecSettings.apk\res\xml\general_headers.xml:30: e
rror: Error: No resource found that matches the given name (at 'icon' with value
'@drawable/ic_settings_applicationpermissions').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Ja\App
Data\Local\Temp\brut_util_Jar_5367009800729330311.tmp, p, --forced-package-id, 1
27, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --versi
on-name, 5.0.1-N915FXXU1BOC6, -F, C:\Users\Ja\AppData\Local\Temp\APKTOOL43965294
82662475895.tmp, -0, arsc, -I, C:\Users\Ja\apktool\framework\1.apk, -S, C:\APK-M
ulti-Tool-2.0\projects\SecSettings.apk\res, -M, C:\APK-Multi-Tool-2.0\projects\S
ecSettings.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:443)
at brut.androlib.Androlib.buildResources(Androlib.java:380)
at brut.androlib.Androlib.build(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Ja\AppData\Local\Temp\brut_util_Jar_5367009800729330311
.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version,
21, --version-code, 21, --version-name, 5.0.1-N915FXXU1BOC6, -F, C:\Users\Ja\App
Data\Local\Temp\APKTOOL4396529482662475895.tmp, -0, arsc, -I, C:\Users\Ja\apktoo
l\framework\1.apk, -S, C:\APK-Multi-Tool-2.0\projects\SecSettings.apk\res, -M, C
:\APK-Multi-Tool-2.0\projects\SecSettings.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:511)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:429)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Ja\AppDa
ta\Local\Temp\brut_util_Jar_5367009800729330311.tmp, p, --forced-package-id, 127
, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version
-name, 5.0.1-N915FXXU1BOC6, -F, C:\Users\Ja\AppData\Local\Temp\APKTOOL4396529482
662475895.tmp, -0, arsc, -I, C:\Users\Ja\apktool\framework\1.apk, -S, C:\APK-Mul
ti-Tool-2.0\projects\SecSettings.apk\res, -M, C:\APK-Multi-Tool-2.0\projects\Sec
Settings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:505)
... 6 more
Press any key to continue . . .
Click to expand...
Click to collapse
JazonX said:
What causes the below error ?
I've been trying hours to figure out. Im trying to recompile secsettings.apk with AppOps Mod.
Click to expand...
Click to collapse
How ?
check res/values/strings.xml
look for app_ops_settings_summary
you might see 2 values for the same strings, delete the one you made, and keep the original one!
(if you didn't know which one, just delete one of them)
go to res\xml\general_headers.xml
search for this line: drawable/ic_settings_applicationpermissions
and change the icon..
if you see at the end of the xml file, there are few icons for application manager and settings, just copy one drawable/ic_*************
and use it for app ops
and then try to compile again.