Basically im trying to reduce the size of Mildwild isc style Launcher2.apk for oxygen basic 2.3.2 rom.
When i decompile Launcher2.apk get this message from Cmd.
Code:
C:\android\tools>apktool d -f launcher2.apk
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\johnnie\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_normal_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_press.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_press.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_focus_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_press.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_press_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_normal_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_press_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_focus_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_focus_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_focus_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_press.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_3_focus.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_press_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_normal_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_focus.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_focus.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_4_press_right.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_1_focus.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/ic_home_arrows_2_normal_right.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Then when i got to res folder and remove all the wallpapers from ( drawable-hdpi ) this all together comes to 7.92mb.
i try to recompile and i get the following message.
Code:
C:\android\tools>apktool b Launcher2
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_focus.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_focus_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_normal_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_press.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_1_press_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_focus.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_focus_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_normal_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_press.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_2_press_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_focus.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_focus_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_normal_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_press.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_3_press_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_focus.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_focus_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_normal.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_normal_right.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_press.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\tools\Launcher2\res\drawable-hdpi\ic_home_arrows_4_press_right.9.png
C:\android\tools\Launcher2\res\values\public.xml:154: error: Public entry identifier 0x7f02001f entry index is larger than available symbols (index 31, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:154: error: Public symbol drawable/APKTOOL_DUMMY_001f declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:155: error: Public entry identifier 0x7f020020 entry index is larger than available symbols (index 32, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:155: error: Public symbol drawable/APKTOOL_DUMMY_0020 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:156: error: Public entry identifier 0x7f020021 entry index is larger than available symbols (index 33, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:156: error: Public symbol drawable/APKTOOL_DUMMY_0021 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:157: error: Public entry identifier 0x7f020053 entry index is larger than available symbols (index 83, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:157: error: Public symbol drawable/APKTOOL_DUMMY_0053 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:158: error: Public entry identifier 0x7f020054 entry index is larger than available symbols (index 84, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:158: error: Public symbol drawable/APKTOOL_DUMMY_0054 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:159: error: Public entry identifier 0x7f020055 entry index is larger than available symbols (index 85, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:159: error: Public symbol drawable/APKTOOL_DUMMY_0055 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:160: error: Public entry identifier 0x7f020056 entry index is larger than available symbols (index 86, total symbols 29).
C:\android\tools\Launcher2\res\values\public.xml:160: error: Public symbol drawable/APKTOOL_DUMMY_0056 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:161: error: Public entry identifier 0x7f020071 entry index is larger than available symbols (index 113, total symbols 29)
.
C:\android\tools\Launcher2\res\values\public.xml:182: error: Public symbol drawable/APKTOOL_DUMMY_0098 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:24: error: Public symbol drawable/all_apps_button declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:44: error: Public symbol drawable/all_apps_button_focused declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:45: error: Public symbol drawable/all_apps_button_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:46: error: Public symbol drawable/all_apps_button_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:47: error: Public symbol drawable/bg_appwidget_error declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:48: error: Public symbol drawable/box_launcher_bottom declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:25: error: Public symbol drawable/box_launcher_top declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:49: error: Public symbol drawable/box_launcher_top_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:50: error: Public symbol drawable/box_launcher_top_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:51: error: Public symbol drawable/box_launcher_top_selected declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:26: error: Public symbol drawable/delete_zone_selector declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:52: error: Public symbol drawable/dock_four declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:53: error: Public symbol drawable/dock_four_dark declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:54: error: Public symbol drawable/dock_two declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:55: error: Public symbol drawable/dock_two_dark declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:56: error: Public symbol drawable/focused_application_background declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:27: error: Public symbol drawable/grid_selector declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:28: error: Public symbol drawable/home_arrows_left declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:29: error: Public symbol drawable/home_arrows_left_1 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:30: error: Public symbol drawable/home_arrows_left_2 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:31: error: Public symbol drawable/home_arrows_left_3 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:32: error: Public symbol drawable/home_arrows_left_4 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:33: error: Public symbol drawable/home_arrows_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:34: error: Public symbol drawable/home_arrows_right_1 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:35: error: Public symbol drawable/home_arrows_right_2 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:36: error: Public symbol drawable/home_arrows_right_3 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:37: error: Public symbol drawable/home_arrows_right_4 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:38: error: Public symbol drawable/home_button declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:57: error: Public symbol drawable/home_button_focused declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:58: error: Public symbol drawable/home_button_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:59: error: Public symbol drawable/home_button_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:39: error: Public symbol drawable/hotseat_browser declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:60: error: Public symbol drawable/hotseat_browser_focused declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:61: error: Public symbol drawable/hotseat_browser_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:62: error: Public symbol drawable/hotseat_browser_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:40: error: Public symbol drawable/hotseat_phone declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:63: error: Public symbol drawable/hotseat_phone_focused declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:64: error: Public symbol drawable/hotseat_phone_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:65: error: Public symbol drawable/hotseat_phone_pressed declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:66: error: Public symbol drawable/ic_home_arrows_1_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:67: error: Public symbol drawable/ic_home_arrows_1_focus_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:68: error: Public symbol drawable/ic_home_arrows_1_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:69: error: Public symbol drawable/ic_home_arrows_1_normal_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:70: error: Public symbol drawable/ic_home_arrows_1_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:71: error: Public symbol drawable/ic_home_arrows_1_press_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:72: error: Public symbol drawable/ic_home_arrows_2_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:73: error: Public symbol drawable/ic_home_arrows_2_focus_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:74: error: Public symbol drawable/ic_home_arrows_2_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:75: error: Public symbol drawable/ic_home_arrows_2_normal_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:76: error: Public symbol drawable/ic_home_arrows_2_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:77: error: Public symbol drawable/ic_home_arrows_2_press_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:78: error: Public symbol drawable/ic_home_arrows_3_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:79: error: Public symbol drawable/ic_home_arrows_3_focus_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:80: error: Public symbol drawable/ic_home_arrows_3_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:81: error: Public symbol drawable/ic_home_arrows_3_normal_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:82: error: Public symbol drawable/ic_home_arrows_3_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:83: error: Public symbol drawable/ic_home_arrows_3_press_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:84: error: Public symbol drawable/ic_home_arrows_4_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:85: error: Public symbol drawable/ic_home_arrows_4_focus_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:86: error: Public symbol drawable/ic_home_arrows_4_normal declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:87: error: Public symbol drawable/ic_home_arrows_4_normal_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:88: error: Public symbol drawable/ic_home_arrows_4_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:89: error: Public symbol drawable/ic_home_arrows_4_press_right declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:90: error: Public symbol drawable/ic_launcher_application declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:91: error: Public symbol drawable/ic_launcher_appwidget declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:92: error: Public symbol drawable/ic_launcher_folder declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:93: error: Public symbol drawable/ic_launcher_folder_open declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:94: error: Public symbol drawable/ic_launcher_home declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:95: error: Public symbol drawable/ic_launcher_shortcut declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:96: error: Public symbol drawable/ic_launcher_wallpaper declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:97: error: Public symbol drawable/pattern_carbon_fiber_dark declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:98: error: Public symbol drawable/placeholder_google declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:41: error: Public symbol drawable/pressed_application_background declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:42: error: Public symbol drawable/preview_background declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:99: error: Public symbol drawable/preview_bg declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:100: error: Public symbol drawable/preview_bg_focus declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:101: error: Public symbol drawable/preview_bg_press declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:43: error: Public symbol drawable/shortcut_selector declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:102: error: Public symbol drawable/trashcan declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:103: error: Public symbol drawable/trashcan_hover declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:104: error: Public symbol drawable/wallpaper_bluedotgrid declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:105: error: Public symbol drawable/wallpaper_bluedotgrid_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:106: error: Public symbol drawable/wallpaper_brown declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:107: error: Public symbol drawable/wallpaper_brown_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:108: error: Public symbol drawable/wallpaper_canyon declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:109: error: Public symbol drawable/wallpaper_canyon_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:110: error: Public symbol drawable/wallpaper_cloud declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:111: error: Public symbol drawable/wallpaper_cloud_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:112: error: Public symbol drawable/wallpaper_desert declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:113: error: Public symbol drawable/wallpaper_desert_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:114: error: Public symbol drawable/wallpaper_despair declareException in thread "main" brut.androlib.AndrolibException: b
rut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\johnnie\AppData\Local\Temp\APKTOOL2994435215325790126.tmp, -I, C:\Users\johnnie\apktool\framework
\1.apk, -S, C:\android\tools\Launcher2\res, -M, C:\android\tools\Launcher2\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\johnnie\AppData\Local\Temp\APKTOOL2994435215325790126.tmp, -I, C:\Users\johnnie\apkto
ol\framework\1.apk, -S, C:\android\tools\Launcher2\res, -M, C:\android\tools\Launcher2\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
d here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:115: error: Public symbol drawable/wallpaper_despair_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:116: error: Public symbol drawable/wallpaper_electric declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:117: error: Public symbol drawable/wallpaper_electric_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:118: error: Public symbol drawable/wallpaper_field declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:119: error: Public symbol drawable/wallpaper_field_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:120: error: Public symbol drawable/wallpaper_galaxy declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:121: error: Public symbol drawable/wallpaper_galaxy_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:122: error: Public symbol drawable/wallpaper_goldengate declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:123: error: Public symbol drawable/wallpaper_goldengate_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:124: error: Public symbol drawable/wallpaper_grass declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:125: error: Public symbol drawable/wallpaper_grass_night declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:126: error: Public symbol drawable/wallpaper_grass_night_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:127: error: Public symbol drawable/wallpaper_grass_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:128: error: Public symbol drawable/wallpaper_gray declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:129: error: Public symbol drawable/wallpaper_gray_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:130: error: Public symbol drawable/wallpaper_greengray declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:131: error: Public symbol drawable/wallpaper_greengray_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:132: error: Public symbol drawable/wallpaper_hazybluedots declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:133: error: Public symbol drawable/wallpaper_hazybluedots_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:134: error: Public symbol drawable/wallpaper_lightgrad declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:135: error: Public symbol drawable/wallpaper_lightgrad_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:136: error: Public symbol drawable/wallpaper_monumentvalley declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:137: error: Public symbol drawable/wallpaper_monumentvalley_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:138: error: Public symbol drawable/wallpaper_nexuspattern declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:139: error: Public symbol drawable/wallpaper_nexuspattern_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:140: error: Public symbol drawable/wallpaper_nexusrain declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:141: error: Public symbol drawable/wallpaper_nexusrain_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:142: error: Public symbol drawable/wallpaper_nexuswallpaper1 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:143: error: Public symbol drawable/wallpaper_nexuswallpaper1_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:144: error: Public symbol drawable/wallpaper_pcut declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:145: error: Public symbol drawable/wallpaper_pcut_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:146: error: Public symbol drawable/wallpaper_ropelights declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:147: error: Public symbol drawable/wallpaper_ropelights_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:148: error: Public symbol drawable/wallpaper_tree declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:149: error: Public symbol drawable/wallpaper_tree_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:150: error: Public symbol drawable/wallpaper_x67 declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:151: error: Public symbol drawable/wallpaper_x67_small declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:152: error: Public symbol drawable/wallpaper_zanzibar declared here is not defined.
C:\android\tools\Launcher2\res\values\public.xml:153: error: Public symbol drawable/wallpaper_zanzibar_small declared here is not defined.
C:\android\tools>
im a novice so im just starting to learn how to edit apk files.
Im sure its something to do with Value Xml file but as said im still learning.
if anyone could help it would be appreciated thank you.
If you are decompiling an apk to remove images and recompiling, you cannot just remove the images. You must also remove the references to those images in the xml files.
Also if you edit the xml files, the apk tool / manager or whatever suggests that there is file that you have to delete (resources.asc I think? - its been a while.)
[HOW-TO][29/MAR] How to setup APKTool & Decompile, Recomile, Sign, and Zipalign APKs
Decompile, Recompile, Sign and Zipalign APKs
Since there aren't many tutorials out there on how to decompile, recompile, sign and zipalign the framework-res.apk, or other APK files, I decided to create one myself
Decompiling, editing, recompiling and signing It can yield a number of results, for example, you can edit the values, add custom images, fix some issues, or just go on an adventure
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[WHAT YOU NEED]
1) A computer
2) The APK you want to edit
3) Latest Java Development Kit (JDK) (Download and Install with default settings http://www.java.com/en/download/index.jsp)
4) Some resource files, which I have bundled into on convenient zip, found here.
5) The Framework-res.apk from /system/framework
- In the case of it being an APK from an HTC based ROM, you will also need the com.htc,resources.apk, found in the same directory
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[STEPS]
- Initial Setup
- First download the zip from above, and extract the files, into C:\Android\APK
- Then, install the JDK from the link above, to the default location
- Then, go to Start, search for 'Environment,' and choose 'Edit Environment Variables for your Account.'
- Now, edit 'PATH,' and 'CLASSPATH.' (If you don't have them, just add them, and name them PATH and CLASSPATH)
- - For PATH, give this as the Variable Value: "C:\Program Files\Java\jdkXXX\bin;" (Without Quotes)(XXX is the JDK version you have)
- - For CLASSPATH, give this as the Variable Value: "C:\Program Files\Java\jdkXXX\jre\lib;" (Without Quotes)(XXX is the JDK version you have)
- Install the Framework:
- Now, move the framework-res.apk, and com.htc.resources.apk (If HTC), to C:\Android\APK
- Press shift, and right click in the folder, and open a command prompt window from the dropdown
- - Type in: "Apktool if framework-res.apk" (Without Quotes) And Press Enter
- - If it is an HTC ROM, Type in: "Apktool if com.htc.resources.apk" (Without Quotes) And Press Enter
- If this goes successfully, you can remove these two APKs from the folder
* NOTE: Everything above was ONE TIME ONLY *
- Decompiling the APK
- Now, copy the APK that you want to decmopile, to C:\Android\APK
- Open a command prompt window there
- Type in "Apktool d xxx.apk" (Without Quotes, and replace xxx with the APK name)
- Once this is done successfully, you will have a folder with the APK name in C:\Android\APK
- You can now make any edits you like
- Recompiling the APK
- Once you're done editing, go back to C:\Android\APK
- Open a command prompt window, and type in "Apktool b xxx"
(Without Quotes, and xxx is the name of the folder where the APK was extracted)
- Once this is done, the new APK can be found in C:\Android\APK\xxx\dist (xxx is name of folder where you extracted the APK)
- Signing, and Zipaligning
- Now, there are two ways to do this.
- - Either you install DSIXDA's kitchen, from here, and use that to Sign, and Zipalign
- - Or, you send me the APK, and I'll do it for you
* NOTE: Always Sign, THEN Zipalign *
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[CREDITS]
1• Mwilky for teaching me all this
2• Floatshow for initial recompiling instructions
3• Fisha21 for helping out
And how about to recompile it back ?
What are the steps ?
Sent from my HOX
1immortal said:
And how about to recompile it back ?
What are the steps ?
Sent from my HOX
Click to expand...
Click to collapse
Hmm, for that, we have to use 'aapt.exe' I will post a tutorial for it soon
download it here meanwhile
1immortal said:
And how about to recompile it back ?
What are the steps ?
Sent from my HOX
Click to expand...
Click to collapse
Added recompiling steps
Sent from my HTC One X using xda premium
Nice guide! Thanks OP!
Mr.Mefisto said:
Nice guide! Thanks OP!
Click to expand...
Click to collapse
No problemo
Sent from my HTC One X using xda premium
Nice guide! Question is do you have to sign system APKs? (Such as framework-rés.apk or SystemUI.apk)
Sent from my HTC One X using xda premium
Yes we do, use SignAPK
Sent from my HTC One X using xda premium
when I'm trying to recompile, I get this:
Code:
D:\Decompiling>java -jar apktool.jar b framework-res framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
D:\Decompiling\framework-res\res\values\layouts.xml:3: error: Found tag layout w
here item is expected
D:\Decompiling\framework-res\res\values\raws.xml:3: error: Found tag raw where i
tem is expected
D:\Decompiling\framework-res\res\values\public.xml:6943: error: Public symbol la
yout/htc_list_item_2text_2stamp declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6944: error: Public symbol la
yout/htc_list_item_2text_bright declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6945: error: Public symbol la
yout/htc_list_item_image_2text_image_bright declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6946: error: Public symbol la
yout/htc_list_item_imageicon_2text_2stamp declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6947: error: Public symbol la
yout/htc_list_item_imageicon_text declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6948: error: Public symbol la
yout/htc_list_item_separator declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6949: error: Public symbol la
yout/keyguard_screen_device_unlock declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6950: error: Public symbol la
yout/pin_keyboard declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:7151: error: Public symbol ra
w/fallbackring_htc declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\WiZARD\AppData\Local\Temp\
APKTOOL1215629564114721126.tmp, -x, -S, D:\Decompiling\framework-res\res, -M, D:
\Decompiling\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\WiZARD\AppData\Local\Temp\APKTOOL1215629564114721126.tmp, -x, -S, D:\Decomp
iling\framework-res\res, -M, D:\Decompiling\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
what should I do?
WiZARD7 said:
when I'm trying to recompile, I get this:
Code:
D:\Decompiling>java -jar apktool.jar b framework-res framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
D:\Decompiling\framework-res\res\values\layouts.xml:3: error: Found tag layout w
here item is expected
D:\Decompiling\framework-res\res\values\raws.xml:3: error: Found tag raw where i
tem is expected
D:\Decompiling\framework-res\res\values\public.xml:6943: error: Public symbol la
yout/htc_list_item_2text_2stamp declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6944: error: Public symbol la
yout/htc_list_item_2text_bright declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6945: error: Public symbol la
yout/htc_list_item_image_2text_image_bright declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6946: error: Public symbol la
yout/htc_list_item_imageicon_2text_2stamp declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6947: error: Public symbol la
yout/htc_list_item_imageicon_text declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6948: error: Public symbol la
yout/htc_list_item_separator declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6949: error: Public symbol la
yout/keyguard_screen_device_unlock declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6950: error: Public symbol la
yout/pin_keyboard declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:7151: error: Public symbol ra
w/fallbackring_htc declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\WiZARD\AppData\Local\Temp\
APKTOOL1215629564114721126.tmp, -x, -S, D:\Decompiling\framework-res\res, -M, D:
\Decompiling\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\WiZARD\AppData\Local\Temp\APKTOOL1215629564114721126.tmp, -x, -S, D:\Decomp
iling\framework-res\res, -M, D:\Decompiling\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
what should I do?
Click to expand...
Click to collapse
Reading that, I seriously have no idea :S Im no expert, just know basics, so I wrote this tutorial. Try Google? Really sorry :/
Sent from my HTC One X using xda premium
There is a problem with older versions of APKtool, in that they break the formatting of some of the XML tags in framework-res.apk, which is why your recompiling fails.
Check this thread for how to fix it: http://forum.xda-developers.com/showthread.php?t=1601511
However, I think the newest version of apktool.jar fixes this for us. You can download this version at ibotpeaches' thread:
http://forum.xda-developers.com/showthread.php?p=28366939
As well as the newest version of apktool.jar, you also need the updated aapt.exe, which can you grab here:
http://forum.xda-developers.com/showpost.php?p=29533731&postcount=157
WiZARD7 said:
when I'm trying to recompile, I get this:
Code:
D:\Decompiling>java -jar apktool.jar b framework-res framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
D:\Decompiling\framework-res\res\values\layouts.xml:3: error: Found tag layout w
here item is expected
D:\Decompiling\framework-res\res\values\raws.xml:3: error: Found tag raw where i
tem is expected
D:\Decompiling\framework-res\res\values\public.xml:6943: error: Public symbol la
yout/htc_list_item_2text_2stamp declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6944: error: Public symbol la
yout/htc_list_item_2text_bright declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6945: error: Public symbol la
yout/htc_list_item_image_2text_image_bright declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6946: error: Public symbol la
yout/htc_list_item_imageicon_2text_2stamp declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6947: error: Public symbol la
yout/htc_list_item_imageicon_text declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6948: error: Public symbol la
yout/htc_list_item_separator declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6949: error: Public symbol la
yout/keyguard_screen_device_unlock declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:6950: error: Public symbol la
yout/pin_keyboard declared here is not defined.
D:\Decompiling\framework-res\res\values\public.xml:7151: error: Public symbol ra
w/fallbackring_htc declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\WiZARD\AppData\Local\Temp\
APKTOOL1215629564114721126.tmp, -x, -S, D:\Decompiling\framework-res\res, -M, D:
\Decompiling\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\WiZARD\AppData\Local\Temp\APKTOOL1215629564114721126.tmp, -x, -S, D:\Decomp
iling\framework-res\res, -M, D:\Decompiling\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
what should I do?
Click to expand...
Click to collapse
fisha21 said:
There is a problem with older versions of APKtool, in that they break the formatting of some of the XML tags in framework-res.apk, which is why your recompiling fails.
Check this thread for how to fix it: http://forum.xda-developers.com/showthread.php?t=1601511
However, I think the newest version of apktool.jar fixes this for us. You can download this version at ibotpeaches' thread:
http://forum.xda-developers.com/showthread.php?p=28366939
As well as the newest version of apktool.jar, you also need the updated aapt.exe, which can you grab here:
http://forum.xda-developers.com/showpost.php?p=29533731&postcount=157
Click to expand...
Click to collapse
Thanks! Added to OP
Sent from my HTC One X using xda premium
Hi Guys,
m on IceColdJelly 0.8.2 and want to disable the 180° roating. So I decompile the framework-res.apk. Than i set in bools.xml (res\values\bools.xml) name="config_allowAllRotations">true< to false. And than I want to recompile it but look at this.
I try to fix with this. I cant find anims.xml, layout.xml & raws.xml in "framework-res\res\values"
*$M3RT$* said:
Hi Guys,
m on IceColdJelly 0.8.2 and want to disable the 180° roating. So I decompile the framework-res.apk. Than i set in bools.xml (res\values\bools.xml) name="config_allowAllRotations">true< to false. And than I want to recompile it but look at this.
I try to fix with this. I cant find anims.xml, layout.xml & raws.xml in "framework-res\res\values"
Click to expand...
Click to collapse
Follow this guide. It's working for me to 100% on JB roms.
icke said:
Follow this guide. It's working for me to 100% on JB roms.
Click to expand...
Click to collapse
Added to OP
Sent from my HTC One X using xda premium
thanks now its work. But I have 2 new Questions .
1. Why the stock framework-res.apk is 12mb big and my recompiled & signed framework-res.apk 9-10mb? its the same with 1 different (name="config_allowAllRotations">true< to false) [recompiled apk = ~10mb, stock apk = ~12mb]
2. I delete the framework-res.apk from the Rom and insert the recompiled one. And the Rom dont boot >.<. I have sign it.
*$M3RT$* said:
thanks now its work. But I have 2 new Questions .
1. Why the stock framework-res.apk is 12mb big and my recompiled & signed framework-res.apk 9-10mb? its the same with 1 different (name="config_allowAllRotations">true< to false) [recompiled apk = ~10mb, stock apk = ~12mb]
2. I delete the framework-res.apk from the Rom and insert the recompiled one. And the Rom dont boot >.<. I have sign it.
Click to expand...
Click to collapse
Dont know about question 1
Answer#2 copy it to system/framework, but you have to change the permissions too. Go into recovery, advanced, fix permissions, and then boot )
If you have more questions, just post here
Sent from my HTC One X using xda premium
Also, if you cant copy it to /system/framework, then just boot into recovery, and go to mounts and storage, and mount system. Then connect to a computer, and type in the following adb commands
Adb remount
Press enter.
Adb push framework-res.apk /system/framework
Press enter.
Then fix permissions
Ps, for the adb commands to work, the framework-res.apk needs to be in the folder with the adb and fastboot files on the computer
Sent from my HTC One X using xda premium
How i make a flashable .zip
*$M3RT$* said:
How i make a flashable .zip
Click to expand...
Click to collapse
You need a metainf folder with installation instructions, which i dont know xD why do u need a zip anyways/
Sent from my HTC One X using xda premium
I can decompile fine but even unedited it won't build.
I'm using apktool.
Is there any framework I could me missing for that?
Code:
E:\Cellphone\root\apktool>apktool.bat b ./framework-res-bac
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_passwor
d_landscape.xml:22: error: Error: No resource found that matches the given name
(at 'layout' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_passwor
d_portrait.xml:22: error: Error: No resource found that matches the given name (
at 'layout' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_tab_unl
ock.xml:23: error: Error: No resource found that matches the given name (at 'lay
out' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_tab_unl
ock_land.xml:17: error: Error: No resource found that matches the given name (at
'layout' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_unlock_
landscape.xml:18: error: Error: No resource found that matches the given name (a
t 'layout' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_unlock_
portrait.xml:23: error: Error: No resource found that matches the given name (at
'layout' with value '@layout/keyguard_transport_control').
Exception in thread "main" aapt: warning: string 'default_audio_route_name_hdmi'
has no default translation in E:\Cellphone\root\apktool\.\framework-res-bac\res
; found: en_GB es
aapt: warning: string 'default_permission_group' has no default translation in E
:\Cellphone\root\apktool\.\framework-res-bac\res; found: en_GB es
aapt: warning: string 'perms_hide' has no default translation in E:\Cellphone\ro
ot\apktool\.\framework-res-bac\res; found: en_GB es
aapt: warning: string 'perms_show_all' has no default translation in E:\Cellphon
e\root\apktool\.\framework-res-bac\res; found: en_GB es
aapt: warning: string 'securekeypad_restrict' has no default translation in E:\C
ellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
aapt: warning: string 'ss_clear_default_hint_msg' has no default translation in
E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
aapt: warning: string 'ss_clear_default_hint_msg_all' has no default translation
in E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
aapt: warning: string 'ss_clear_default_hint_msg_applicationmanager' has no defa
ult translation in E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_
CN
aapt: warning: string 'ss_clear_default_hint_msg_more' has no default translatio
n in E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
aapt: warning: string 'ss_clear_default_hint_msg_settings' has no default transl
ation in E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
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\XXXXXX\AppData\Local\Temp\APKTOOL7010540710286080272.
tmp, -x, -0, arsc, -S, E:\Cellphone\root\apktool\.\framework-res-bac\res, -M, E:
\Cellphone\root\apktool\.\framework-res-bac\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\XXXXXX\AppData\Local\Temp\APKTOOL7010540710286080272.tmp, -x, -0, arsc, -S,
E:\Cellphone\root\apktool\.\framework-res-bac\res, -M, E:\Cellphone\root\apktoo
l\.\framework-res-bac\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\XXXXXX\AppData\Local\Temp\AP
KTOOL7010540710286080272.tmp, -x, -0, arsc, -S, E:\Cellphone\root\apktool\.\fram
ework-res-bac\res, -M, E:\Cellphone\root\apktool\.\framework-res-bac\AndroidMani
fest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
E:\Cellphone\root\apktool>
Anyone?
Bump?
Sent from my Microwave using xda-developers app