Trying to Modify Mildwild ics style Launcher2.apk - Desire Themes and Apps
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.)
Related
[Q] Apktool help needed
Hi Guys! I'm reposting this here as I have a hard time building the framework-res.apk: Code: apktool b res framework-res.apk where "res" is the folder in which all the files are (in the same folder apktool is) this is what I get: Code: C:\Users\Romca\Dropbox\Android\Programs etc\APKtool>apktool b res res.apk W: Could not find sources I: Checking whether resources has changed... I: Building resources... C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 05: error: Public entry identifier 0x10803dc entry index is larger than availabl e symbols (index 988, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 05: error: Public symbol drawable/stat_sys_battery_charge_anim6 declared here is not defined. C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 06: error: Public entry identifier 0x10803de entry index is larger than availabl e symbols (index 990, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 06: error: Public symbol drawable/stat_sys_battery_charge_anim7 declared here is not defined. C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 07: error: Public entry identifier 0x10803df entry index is larger than availabl e symbols (index 991, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 07: error: Public symbol drawable/stat_sys_battery_charge_anim8 declared here is not defined. C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 08: error: Public entry identifier 0x10803e0 entry index is larger than availabl e symbols (index 992, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 08: error: Public symbol drawable/stat_sys_battery_charge_anim9 declared here is not defined. C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 09: error: Public entry identifier 0x10803e1 entry index is larger than availabl e symbols (index 993, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 09: error: Public symbol drawable/stat_sys_battery_charge_animfull 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\Romca\AppData\Local\Temp\A PKTOOL3472021016324607607.tmp, -x, -S, C:\Users\Romca\Dropbox\Android\Programs e tc\APKtool\res\res, -M, C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\ AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source) at brut.androlib.Androlib.buildResourcesFull(Unknown Source) at brut.androlib.Androlib.buildResources(Unknown Source) at brut.androlib.Androlib.build(Unknown Source) at brut.androlib.Androlib.build(Unknown Source) at brut.apktool.Main.cmdBuild(Unknown Source) at brut.apktool.Main.main(Unknown Source) Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U sers\Romca\AppData\Local\Temp\APKTOOL3472021016324607607.tmp, -x, -S, C:\Users\R omca\Dropbox\Android\Programs etc\APKtool\res\res, -M, C:\Users\Romca\Dropbox\An droid\Programs etc\APKtool\res\AndroidManifest.xml] at brut.util.OS.exec(Unknown Source) ... 7 more C:\Users\Romca\Dropbox\Android\Programs etc\APKtool> The resources are there - I just replaced those with different png's And for the other errors - I just took the previous .apk, decompiled, edited battery_charge.xml to suit the pictures i used, edited public.xml in values to delete the pictures I didn't use - there was 26 of them, i used only 17... Any hints? Thanks!
Dr.Romca said: Hi Guys! I'm reposting this here as I have a hard time building the framework-res.apk: Code: apktool b res framework-res.apk where "res" is the folder in which all the files are (in the same folder apktool is) this is what I get: Code: C:\Users\Romca\Dropbox\Android\Programs etc\APKtool>apktool b res res.apk W: Could not find sources I: Checking whether resources has changed... I: Building resources... C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 05: error: Public entry identifier 0x10803dc entry index is larger than availabl e symbols (index 988, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 05: error: Public symbol drawable/stat_sys_battery_charge_anim6 declared here is not defined. C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 06: error: Public entry identifier 0x10803de entry index is larger than availabl e symbols (index 990, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 06: error: Public symbol drawable/stat_sys_battery_charge_anim7 declared here is not defined. C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 07: error: Public entry identifier 0x10803df entry index is larger than availabl e symbols (index 991, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 07: error: Public symbol drawable/stat_sys_battery_charge_anim8 declared here is not defined. C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 08: error: Public entry identifier 0x10803e0 entry index is larger than availabl e symbols (index 992, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 08: error: Public symbol drawable/stat_sys_battery_charge_anim9 declared here is not defined. C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 09: error: Public entry identifier 0x10803e1 entry index is larger than availabl e symbols (index 993, total symbols 986). C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\res\values\public.xml:34 09: error: Public symbol drawable/stat_sys_battery_charge_animfull 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\Romca\AppData\Local\Temp\A PKTOOL3472021016324607607.tmp, -x, -S, C:\Users\Romca\Dropbox\Android\Programs e tc\APKtool\res\res, -M, C:\Users\Romca\Dropbox\Android\Programs etc\APKtool\res\ AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source) at brut.androlib.Androlib.buildResourcesFull(Unknown Source) at brut.androlib.Androlib.buildResources(Unknown Source) at brut.androlib.Androlib.build(Unknown Source) at brut.androlib.Androlib.build(Unknown Source) at brut.apktool.Main.cmdBuild(Unknown Source) at brut.apktool.Main.main(Unknown Source) Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U sers\Romca\AppData\Local\Temp\APKTOOL3472021016324607607.tmp, -x, -S, C:\Users\R omca\Dropbox\Android\Programs etc\APKtool\res\res, -M, C:\Users\Romca\Dropbox\An droid\Programs etc\APKtool\res\AndroidManifest.xml] at brut.util.OS.exec(Unknown Source) ... 7 more C:\Users\Romca\Dropbox\Android\Programs etc\APKtool> The resources are there - I just replaced those with different png's And for the other errors - I just took the previous .apk, decompiled, edited battery_charge.xml to suit the pictures i used, edited public.xml in values to delete the pictures I didn't use - there was 26 of them, i used only 17... Any hints? Thanks! Click to expand... Click to collapse Just done a quick search and all I could find was other people with a similar error they said using the latest version fixed it maybe you are using an old version?
Nope, the newest I could find, but I partially solved it by installing framework files, but I still can't figure out how to use more than one file while decompiling...
Error while build CM10
Hey guys! No, I still haven't gotten my CM10 to boot, because I am having a lot of build errors. Now, I need help with the following error while building: Code: Import includes file: /home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/copybit.msm7x30_intermediates/import_includes Import includes file: /home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/libmemalloc_intermediates/import_includes target thumb C++: libgenlock <= hardware/qcom/display/libgenlock/genlock.cpp target thumb C: gps.goldfish <= sdk/emulator/gps/gps_qemu.c sdk/emulator/gps/gps_qemu.c:47:0: warning: "D" redefined [enabled by default] hardware/libhardware/include/hardware/qemu_pipe.h:29:0: note: this is the location of the previous definition sdk/emulator/gps/gps_qemu.c:903:5: warning: initialization from incompatible pointer type [enabled by default] sdk/emulator/gps/gps_qemu.c:903:5: warning: (near initialization for 'qemuGpsInterface.set_position_mode') [enabled by default] target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/gralloc.cpp hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'gralloc_module_t::perform' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'gralloc_module_t::reserved_proc' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::pmem_master' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::pmem_master_base' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::info' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::finfo' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::xdpi' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::ydpi' [-Wmissing-field-initializers] hardware/libhardware/modules/gralloc/gralloc.cpp:100:1: warning: missing initializer for member 'private_module_t::fps' [-Wmissing-field-initializers] target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp hardware/qcom/display/libgenlock/genlock.cpp: In function 'int (anonymous namespace)::get_kernel_lock_type(genlock_lock_type)': hardware/qcom/display/libgenlock/genlock.cpp:53:25: error: 'GENLOCK_WRLOCK' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:55:25: error: 'GENLOCK_RDLOCK' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t (anonymous namespace)::perform_lock_unlock_operation(native_handle_t*, int, int, int)': hardware/qcom/display/libgenlock/genlock.cpp:83:13: error: 'genlock_lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:83:26: error: expected ';' before 'lock' hardware/qcom/display/libgenlock/genlock.cpp:84:13: error: 'lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:101:43: error: 'GENLOCK_IOC_LOCK' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_create_lock(native_handle_t*)': hardware/qcom/display/libgenlock/genlock.cpp:156:9: error: 'genlock_lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:156:22: error: expected ';' before 'lock' hardware/qcom/display/libgenlock/genlock.cpp:157:23: error: 'GENLOCK_IOC_NEW' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:160:45: error: 'lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:166:27: error: 'GENLOCK_IOC_EXPORT' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:166:48: error: 'lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:176:30: error: 'lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_attach_lock(native_handle_t*)': hardware/qcom/display/libgenlock/genlock.cpp:243:9: error: 'genlock_lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:243:22: error: expected ';' before 'lock' hardware/qcom/display/libgenlock/genlock.cpp:244:9: error: 'lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:245:23: error: 'GENLOCK_IOC_ATTACH' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_unlock_buffer(native_handle_t*)': hardware/qcom/display/libgenlock/genlock.cpp:306:56: error: 'GENLOCK_UNLOCK' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_wait(native_handle_t*, int)': hardware/qcom/display/libgenlock/genlock.cpp:335:9: error: 'genlock_lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:335:22: error: expected ';' before 'lock' hardware/qcom/display/libgenlock/genlock.cpp:336:9: error: 'lock' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp:338:39: error: 'GENLOCK_IOC_WAIT' was not declared in this scope hardware/qcom/display/libgenlock/genlock.cpp: In function 'genlock_status_t genlock_write_to_read(native_handle_t*, int)': hardware/qcom/display/libgenlock/genlock.cpp:368:56: error: 'GENLOCK_RDLOCK' was not declared in this scope make: *** [/home/zeeshan/cm10/out/target/product/u8800/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o] Error 1 make: *** Waiting for unfinished jobs.... [email protected]:~/cm10$ Ok, so I can see that genlock (and probably gralloc), but I don't know what is wrong and how to fix it. Please, I need someone to help me with this! Thanks.
Which dece source are you using?
compile errors
i seem to have hit a road block making jellybean rom for tcc8920st here the last part of compile log it saying about LOGE AND LOGV host C++: wdsclient <= external/webkit/Source/WebKit/android/wds/client/main.cpp external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::connect()': external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:56:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:66:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::sendRequest(char const*, ...) const': external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:81:36: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:92:52: error: 'LOGV' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:100:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:106:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In function 'void printFailureMessage(int)': external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:118:70: error: 'LOG_ASSERT' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:130:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:133:74: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:139:46: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'bool AdbConnection::checkOkayResponse() const': external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:148:57: error: 'LOG_ASSERT' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:153:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:159:28: error: 'LOGV' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:166:58: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp: In member function 'const DeviceList& AdbConnection::getDeviceList()': external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:181:36: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:187:50: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:195:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:210:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:213:74: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/AdbConnection.cpp:227:52: error: 'LOGV' was not declared in this scope make: *** [/home/james/cmdevcenter/Build/Debian/debian/out/host/linux-x86/obj/EXECUTABLES/wdsclient_intermediates/AdbConnection.o] Error 1 make: *** Waiting for unfinished jobs.... external/webkit/Source/WebKit/android/wds/client/main.cpp: In function 'int wds_open()': external/webkit/Source/WebKit/android/wds/client/main.cpp:53:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/main.cpp:58:9: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/main.cpp: In function 'int main(int, char**)': external/webkit/Source/WebKit/android/wds/client/main.cpp:77:51: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/main.cpp:97:40: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/main.cpp:112:75: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/main.cpp:115:36: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/main.cpp:134:32: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/main.cpp:140:49: error: 'LOGE' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/main.cpp:144:50: error: 'LOGV' was not declared in this scope external/webkit/Source/WebKit/android/wds/client/main.cpp:150:59: error: 'LOGE' was not declared in this scope make: *** [/home/james/cmdevcenter/Build/Debian/debian/out/host/linux-x86/obj/EXECUTABLES/wdsclient_intermediates/main.o] Error 1 jez! im looking at main.cpp and adbconnection.cpp so anyone shed light on it i added telechips892x android source tree to it and edited to reflect the telechips
Varios issues porting AOSP/CyanogenMod/Any other such ROM(s)...
Hey everyone! As the title says, but more exactly I kinda lost my mind trying to port custom firmware for Asus A500CG. And all of it end up with errors with "hardware/intel/img/psb_video/src/android/psb_android_glue.cpp". I've used the master branch of the device tree here by quanganh2627. I'm trying to build Android M currently . I've disabled SELinux things. And to solve the psb_video error I removed the folder itself. I get a successful build but ends up with building the one for medfield. I'll post the error in the next post. And could someone guide me properly to build the ROM and for the right device. Also I'm building it on Ubuntu 14.04.02. I get the Medfield info because it literally gets stuck in the splash screen, so I used adb devices & I used adb logcat. I see that most of the services fail to start & to be more precise a bootloop without boot animation. I'd appreciate help from anyone with more experience working with custom firmware.
frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed: hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:124:21: error: NULL used in arithmetic [-Werror=pointer-arith] if (imds == NULL) ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:127:20: error: NULL used in arithmetic [-Werror=pointer-arith] if (mds != NULL) { ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer ret = mds->getVppState(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:130:13: error: converting to non-pointer type 'int' from NULL [-Werror=conversion-null] mds = NULL; ^ cc1plus: all warnings being treated as errors make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1
Next set of errors: hardware/intel/img/psb_video/src/android/psb_gralloc.cpp:38:25: fatal error: ufo/gralloc.h: No such file or directory #include <ufo/gralloc.h> ^ compilation terminated. make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_gralloc.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:45:0: hardware/intel/img/psb_video/src/android/psb_mds.h:51:8: error: 'IMDService' was not declared in this scope sp<IMDService> mMds; ^ hardware/intel/img/psb_video/src/android/psb_mds.h:51:18: error: template argument 1 is invalid sp<IMDService> mMds; ^ hardware/intel/img/psb_video/src/android/psb_mds.h:52:8: error: 'IMultiDisplayInfoProvider' was not declared in this scope sp<IMultiDisplayInfoProvider> mListener; ^ hardware/intel/img/psb_video/src/android/psb_mds.h:52:33: error: template argument 1 is invalid sp<IMultiDisplayInfoProvider> mListener; ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp: In function 'int psb_android_get_mds_vpp_state(void*)': hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: error: 'IMDService' was not declared in this scope sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:22: error: template argument 1 is invalid sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:29: error: invalid type in declaration before '=' token sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:46: error: the value of 'IMDService' is not usable in a constant expression sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:122:12: note: 'IMDService' was not declared 'constexpr' sp<IMDService> imds = interface_cast<IMDService>( ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: error: no matching function for call to 'interface_cast(android::sp<android::IBinder>)' sm->getService(String16(INTEL_MDS_SERVICE_NAME))); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:123:65: note: candidate is: In file included from frameworks/native/include/binder/IServiceManager.h:21:0, from hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:33: frameworks/native/include/binder/IInterface.h:42:22: note: template<class INTERFACE> android::sp<T> android::interface_cast(const android::sp<android::IBinder>&) inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj) ^ frameworks/native/include/binder/IInterface.h:42:22: note: template argument deduction/substitution failed: hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:12: error: 'IMultiDisplayInfoProvider' was not declared in this scope sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:37: error: template argument 1 is invalid sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:43: error: invalid type in declaration before '=' token sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:126:49: error: base operand of '->' is not a pointer sp<IMultiDisplayInfoProvider> mds = imds->getInfoProvider(); ^ hardware/intel/img/psb_video/src/android/psb_android_glue.cpp:128:22: error: base operand of '->' is not a pointer ret = mds->getVppState(); ^ make: *** [/home/paletrox-z/euphoria/out/target/product/a500cg/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/android/psb_android_glue.o] Error 1 #### make failed to build some targets (03:04 (mm:ss)) ####
Go to psb_video folder and delete all files here apart all folders and Android.mk file. Open Android.mk file and comment all strings there using # symbol. My CM12.1 is booted without this folder. You should compile Lollipop rom and only after that you should compile Marshmallow.
But mate it creates pvr_drv_video.so module. So would it be right to do so?
Just try.
I tried and it built it again for medfield mate....
advanced apktool success no
I am getting this message when I recompile ( success no ) and I have tried to just decompile edit nothing and just recopmpile and still get the same error, Log: Code: Log For : lol.apk Log Type : Recompiling Log Recorded At : Wed 10-05-2017 12:24:23.62 Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak ------------------------------------------------------ ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-mdpi\abc_list_divider_mtrl_alpha.9.png malformed. Must have one-pixel frame that is either transparent or white. ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-mdpi\abc_list_divider_mtrl_alpha.9.png ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-hdpi\abc_list_divider_mtrl_alpha.9.png malformed. Must have one-pixel frame that is either transparent or white. ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-hdpi\abc_list_divider_mtrl_alpha.9.png ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-xhdpi\abc_list_divider_mtrl_alpha.9.png malformed. Must have one-pixel frame that is either transparent or white. ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-xhdpi\abc_list_divider_mtrl_alpha.9.png ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-xxhdpi\abc_list_divider_mtrl_alpha.9.png malformed. Must have one-pixel frame that is either transparent or white. ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-xxhdpi\abc_list_divider_mtrl_alpha.9.png ERROR: 9-patch image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-hdpi\title_bar_medium.9.png malformed. Must have one-pixel frame that is either transparent or white. ERROR: Failure processing PNG image C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\drawable-hdpi\title_bar_medium.9.png C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:384: error: Public symbol drawable/abc_ab_share_pack_mtrl_alpha declared here is not defined. C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:375: error: Public symbol drawable/abc_action_bar_item_background_material declared here is not defined. C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:317: error: Public symbol drawable/abc_btn_borderless_material declared here is not defined. C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:318: error: Public symbol drawable/abc_btn_check_material declared here is not defined. C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:385: error: Public symbol drawable/abc_btn_check_to_on_mtrl_000 declared here is not defined. C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:386: error: Public symbol drawable/abc_btn_check_to_on_mtrl_015 declared here is not defined. C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:319: error: Public symbol drawable/abc_btn_colored_material declared here is not defined. C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:320: error: Public symbol drawable/abc_btn_default_mtrl_shape declared here is not defined. C:\Users\Ocean\Desktop\AdvancedApkTool\3-Out\lol.apk\res\values\public.xml:321: error: Public symbol drawable/abc_btn_radio_material declared here is not defined. ------------------------------------------------------