[Q] Error with compiling jb systemui.apk - Sony Xperia S, Acro S, Ion

Hi there
I got error when i compiled systemui.apk with apktool
here is the error (i re-sized png to xhdpi and copied it )
s\public.xml:168: error: Public symbol drawable/stat_sys_ringer_vibrate declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:169: error: Public symbol drawable/stat_sys_roaming_cdma_0 declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:39: error: Public symbol drawable/stat_sys_roaming_cdma_flash decla
red here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:170: error: Public symbol drawable/stat_sys_roaming_cdma_flash_anim
0 declared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:171: error: Public symbol drawable/stat_sys_roaming_cdma_flash_anim
1 declared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:172: error: Public symbol drawable/stat_sys_signal_0 declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:173: error: Public symbol drawable/stat_sys_signal_0_fully declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:174: error: Public symbol drawable/stat_sys_signal_1 declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:175: error: Public symbol drawable/stat_sys_signal_1_fully declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:176: error: Public symbol drawable/stat_sys_signal_2 declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:177: error: Public symbol drawable/stat_sys_signal_2_fully declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:178: error: Public symbol drawable/stat_sys_signal_3 declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:179: error: Public symbol drawable/stat_sys_signal_3_fully declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:180: error: Public symbol drawable/stat_sys_signal_4 declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:181: error: Public symbol drawable/stat_sys_signal_4_fully declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:252: error: Public symbol drawable/stat_sys_signal_connected declar
ed here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:182: error: Public symbol drawable/stat_sys_signal_flightmode decla
red here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:183: error: Public symbol drawable/stat_sys_signal_in declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:184: error: Public symbol drawable/stat_sys_signal_inout declared h
ere is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:185: error: Public symbol drawable/stat_sys_signal_null declared he
re is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:186: error: Public symbol drawable/stat_sys_signal_out declared her
e is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:187: error: Public symbol drawable/stat_sys_sync declared here is n
ot defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:188: error: Public symbol drawable/stat_sys_sync_error declared her
e is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:189: error: Public symbol drawable/stat_sys_tty_mode declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:190: error: Public symbol drawable/stat_sys_wifi_in declared here i
s not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:191: error: Public symbol drawable/stat_sys_wifi_inout declared her
e is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:192: error: Public symbol drawable/stat_sys_wifi_limited_signal_0 d
eclared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:193: error: Public symbol drawable/stat_sys_wifi_limited_signal_1 d
eclared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:194: error: Public symbol drawable/stat_sys_wifi_limited_signal_2 d
eclared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:195: error: Public symbol drawable/stat_sys_wifi_limited_signal_3 d
eclared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:196: error: Public symbol drawable/stat_sys_wifi_limited_signal_4 d
eclared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:197: error: Public symbol drawable/stat_sys_wifi_out declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:198: error: Public symbol drawable/stat_sys_wifi_signal_0 declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:199: error: Public symbol drawable/stat_sys_wifi_signal_1 declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:200: error: Public symbol drawable/stat_sys_wifi_signal_1_fully dec
lared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:201: error: Public symbol drawable/stat_sys_wifi_signal_2 declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:202: error: Public symbol drawable/stat_sys_wifi_signal_2_fully dec
lared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:203: error: Public symbol drawable/stat_sys_wifi_signal_3 declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:204: error: Public symbol drawable/stat_sys_wifi_signal_3_fully dec
lared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:205: error: Public symbol drawable/stat_sys_wifi_signal_4 declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:206: error: Public symbol drawable/stat_sys_wifi_signal_4_fully dec
lared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:207: error: Public symbol drawable/stat_sys_wifi_signal_null declar
ed here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:53: error: Public entry identifier 0x7f0200eb entry index is larger
than available symbols (index 235, total symbols 10).
C:\Users\Mohammad\Desktop\APK-MuException in thread "main" lti-Tool-Stable-RELEA
SE\other\SystemUI\res\values\public.xml:53: error: Public symbol drawable/status
_bar_background declared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:40: error: Public symbol drawable/status_bar_bg declared here is no
t defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:208: error: Public symbol drawable/status_bar_bg_tile declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:41: error: Public symbol drawable/status_bar_close declared here is
not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:209: error: Public symbol drawable/status_bar_close_off declared he
re is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:210: error: Public symbol drawable/status_bar_close_on declared her
e is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:42: error: Public symbol drawable/status_bar_expand declared here i
s not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:211: error: Public symbol drawable/status_bar_expand_default declar
ed here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:212: error: Public symbol drawable/status_bar_expand_pressed declar
ed here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:213: error: Public symbol drawable/status_bar_hr declared here is n
ot defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:43: error: Public symbol drawable/status_bar_item_background declar
ed here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:55: error: Public entry identifier 0x7f0200ed entry index is larger
than available symbols (index 237, total symbols 10).
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:55: error: Public symbol drawable/status_bar_notification_row_backg
round_color declared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:54: error: Public entry identifier 0x7f0200ec entry index is larger
than available symbols (index 236, total symbols 10).
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:54: error: Public symbol drawable/status_bar_recents_app_thumbnail_
background declared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:44: error: Public symbol drawable/status_bar_recents_background dec
lared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:45: error: Public symbol drawable/status_bar_settings_slider_disabl
ed declared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:46: error: Public symbol drawable/status_bar_ticker_background decl
ared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:47: error: Public symbol drawable/status_bar_toggle_button declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:214: error: Public symbol drawable/statusbar_bluetooth_anim_1 decla
red here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:215: error: Public symbol drawable/statusbar_bluetooth_anim_2 decla
red here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:216: error: Public symbol drawable/statusbar_bluetooth_off declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:217: error: Public symbol drawable/statusbar_bluetooth_on declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:218: error: Public symbol drawable/statusbar_datatraffic_off declar
ed here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:219: error: Public symbol drawable/statusbar_datatraffic_on declare
d here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:220: error: Public symbol drawable/statusbar_pressed_bg declared he
re is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:221: error: Public symbol drawable/statusbar_settings declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:222: error: Public symbol drawable/statusbar_sound_off declared her
e is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:223: error: Public symbol drawable/statusbar_sound_on declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:17: error: Public symbol drawable/statusbar_tools_button_frame decl
ared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:224: error: Public symbol drawable/statusbar_vibrate_on declared he
re is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:225: error: Public symbol drawable/statusbar_wifi_anim_1 declared h
ere is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:226: error: Public symbol drawable/statusbar_wifi_anim_2 declared h
ere is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:227: error: Public symbol drawable/statusbar_wifi_anim_3 declared h
ere is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:228: error: Public symbol drawable/statusbar_wifi_off declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:229: error: Public symbol drawable/statusbar_wifi_on declared here
is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:59: error: Public entry identifier 0x7f0200f1 entry index is larger
than available symbols (index 241, total symbols 10).
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:59: error: Public symbol drawable/system_bar_background declared he
re is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:48: error: Public symbol drawable/system_bar_notification_header_bg
declared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:49: error: Public symbol drawable/system_bar_ticker_background decl
ared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:50: error: Public symbol drawable/ticker_background declared here i
s not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:52: error: Public entry identifier 0x7f0200ea entry index is larger
than available symbols (index 234, total symbols 10).
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:52: error: Public symbol drawable/ticker_background_color declared
here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:230: error: Public symbol drawable/title_bar_shadow declared here i
s not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\brut.androlib.AndrolibEx
ception: brut.androlib.AndrolibException: brut.common.BrutException: could not e
xec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\U
sers\Mohammad\AppData\Local\Temp\APKTOOL2738492936796344696.tmp, -0, arsc, -I, C
:\Users\Mohammad\apktool\framework\1.apk, -S, C:\Users\Mohammad\Desktop\APK-Mult
i-Tool-Stable-RELEASE\other\SystemUI\res, -M, C:\Users\Mohammad\Desktop\APK-Mult
i-Tool-Stable-RELEASE\other\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
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, 16, --target-sdk-version, 16, -F, C:
\Users\Mohammad\AppData\Local\Temp\APKTOOL2738492936796344696.tmp, -0, arsc, -I,
C:\Users\Mohammad\apktool\framework\1.apk, -S, C:\Users\Mohammad\Desktop\APK-Mu
lti-Tool-Stable-RELEASE\other\SystemUI\res, -M, C:\Users\Mohammad\Desktop\APK-Mu
lti-Tool-Stable-RELEASE\other\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Mohammad\AppData\Local\Tem
p\APKTOOL2738492936796344696.tmp, -0, arsc, -I, C:\Users\Mohammad\apktool\framew
ork\1.apk, -S, C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\Sys
temUI\res, -M, C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\Sys
temUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:404)
... 6 more
other\SystemUI\res\values\public.xml:231: error: Public symbol drawable/top_divi
der_glow declared here is not defined.
C:\Users\Mohammad\Desktop\APK-Multi-Tool-Stable-RELEASE\other\SystemUI\res\value
s\public.xml:18: error: Public symbol drawable/vert_div declared here is not def
ined.
what i did wrong ?

Related

APK decompiling/compiling w/ apkmanager

ok, im having some problems here that i cant figure out. maybe im just being stupid. whenever i want to edit a framework-res.apk, for instance, when i want to manually add a super circle battery mod; i do things in this order:
1. decompile the apk to edit the necessary xml files
2. edit them, usually copy and paste the ones i need from a txt
3. recompile with new code edits
4. replace the necessary png files
but for some reason whenever i go to recompile the apk after modifying the code, i get errors and apkmanager will not produce a usable apk. wth am i doing wrong here?
these are the errors i get
apkmanager said:
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:2595: error: Public symbol drawable/timepicker_input declared here is not de
fined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3387: error: Public symbol drawable/timepicker_input_disabled declared here
is not defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3388: error: Public symbol drawable/timepicker_input_normal declared here is
not defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3389: error: Public symbol drawable/timepicker_input_pressed declared here i
s not defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3390: error: Public symbol drawable/timepicker_input_selected declared here
is not defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:2596: error: Public symbol drawable/timepicker_up_btn declared here is not d
efined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3391: error: Public symbol drawable/timepicker_up_disabled declared here is
not defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3392: error: Public symbol drawable/timepicker_up_disabled_focused declared
here is not defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3393: error: Public symbol drawable/timepicker_up_normal declared here is no
t defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3394: error: Public symbol drawable/timepicker_up_pressed declared here is n
ot defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3395: error: Public symbol drawable/timepicker_up_selected declared here is
not defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:2491: error: Public symbol drawable/title_bar declared here is not defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3396: error: Public symbol drawable/title_bar_medium declared here is not de
fined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3397: error: Public symbol drawable/title_bar_portrait declared here is not
defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3398: error: Public symbol drawable/title_bar_portrait_cust declared here is
not defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3399: error: Public symbol drawable/title_bar_shadow declared here is not de
fined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:2732: error: Public symbol drawable/title_bar_tall declared here is not defi
ned.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:2720: error: Public symbol drawable/toast_frame declared here is not defined
.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3400: error: Public symbol drawable/unknown_image declared here is not defin
ed.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3401: error: Public symbol drawable/usb_android declared here is not defined
.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:3402: error: Public symbol drawable/usb_android_connected declared here is n
ot defined.
C:\android-evo\apkmanager\other\..\projects\framework-res.apk\res\values\public.
xml:2721: error: Public symbol drawable/zoom_plate 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\T3PROJ~1\AppData\Local\Tem
p\APKTOOL2777993957993022352.tmp, -x, -S, C:\android-evo\apkmanager\other\..\pro
jects\framework-res.apk\res, -M, C:\android-evo\apkmanager\other\..\projects\fra
mework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\T3PROJ~1\AppData\Local\Temp\APKTOOL2777993957993022352.tmp, -x, -S, C:\andr
oid-evo\apkmanager\other\..\projects\framework-res.apk\res, -M, C:\android-evo\a
pkmanager\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Press any key to continue . . .
Click to expand...
Click to collapse
I'm gonna take a shot in the dark here and say that you didn't read the little bit about editing xml files in the console output.
You are supposed to delete the resources.arsc file prior to recompiling if you change any xml file.
lovethyEVO said:
I'm gonna take a shot in the dark here and say that you didn't read the little bit about editing xml files in the console output.
You are supposed to delete the resources.arsc file prior to recompiling if you change any xml file.
Click to expand...
Click to collapse
sorry, forgot to add that but yes i remove it.
U did not mention which version of apktool u use
aamikam said:
U did not mention which version of apktool u use
Click to expand...
Click to collapse
latest version of apkmanager
If you are deleting the resources.arsc file then the problem lies in the steps you provided in your op.
You can't compile the apk with different xml files and then replace the pngs. You have to edit/replace/delete/etc all before recompiling.
Battery mod for example will be looking for extra pngs associated with the xml file.
If you edit the xml file but don't put the correct png's in before compiling then yes you will get errors because the xml is "looking" for files that don't exist.
If you're trying to add just the battery mod you should be able to just change the pngs and xml files by drag-n-drop from one apk to another WITHOUT extracting.
lovethyEVO said:
If you are deleting the resources.arsc file then the problem lies in the steps you provided in your op.
You can't compile the apk with different xml files and then replace the pngs. You have to edit/replace/delete/etc all before recompiling.
Battery mod for example will be looking for extra pngs associated with the xml file.
If you edit the xml file but don't put the correct png's in before compiling then yes you will get errors because the xml is "looking" for files that don't exist.
If you're trying to add just the battery mod you should be able to just change the pngs and xml files by drag-n-drop from one apk to another WITHOUT extracting.
Click to expand...
Click to collapse
i've done it that way originally as well. still the same errors. i know i dont have to decompile for the batt mod. i just used that as a test/example. just trying to figure out wtf before i start trying to mod other stuff.
You should be recompiling it as a system app and choosing yes to keep extras or what not.
If all else fails, try another framework file.
U should know that version 1.3.2 is not working right for most people... use version 1.3.1.
U can see on dev's page that it highly recommended to stick to 1.3.1 cuz 1.3.2 has many bugs.
So switch... the problems will go away... I promise.
Edit:
Btw.. I'm not using apk manager... I'm using apktool by it self.
U would need to simply replace the jar file in the folder of apk manager to get the right version going.
ok, im still having issues with this. i can manipulate images with no problems but whenever i add to the xml files i get errors or either bootloops. can someone give me a step by step on how to add this manually to the framework?
im adding the stat_sys_battery. stat_sys_battery_charging and zzz_stat_sys_battery_1 xml files and the pngs to the framework and zipping and all i get are bootloops. what am i missing here?
I am having the same problem...same xml files and pngs
I'm trying to manually edit my framework to include this circle battery
(http://forum.xda-developers.com/showthread.php?t=724778)
1. Decompile app
2. Copy and paste needed files
3. Recompile app
I could not find the resource.arsc file in framework-res.apk, i do not know from where to remove it
Also I do not know how to use the aformentioned 'drag and drop' method that works for this, if you could explain further that would be appreciated
I get the error:
Code:
2585: error: Public symbol drawable/submenu_arrow declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3318: error: Public symbol drawable/submenu_arrow_nofocus declared here is not d
efined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3319: error: Public symbol drawable/sym_action_add declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2712: error: Public symbol drawable/sym_action_call declared here is not defined
.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2713: error: Public symbol drawable/sym_action_chat declared here is not defined
.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2714: error: Public symbol drawable/sym_action_email declared here is not define
d.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3320: error: Public symbol drawable/sym_app_on_sd_unavailable_icon declared here
is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2715: error: Public symbol drawable/sym_call_incoming declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2716: error: Public symbol drawable/sym_call_missed declared here is not defined
.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2717: error: Public symbol drawable/sym_call_outgoing declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2719: error: Public symbol drawable/sym_contact_card declared here is not define
d.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2718: error: Public symbol drawable/sym_def_app_icon declared here is not define
d.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3321: error: Public symbol drawable/sym_keyboard_delete declared here is not def
ined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3322: error: Public symbol drawable/sym_keyboard_delete_dim declared here is not
defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3323: error: Public symbol drawable/sym_keyboard_feedback_delete declared here i
s not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3324: error: Public symbol drawable/sym_keyboard_feedback_ok declared here is no
t defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3325: error: Public symbol drawable/sym_keyboard_feedback_return declared here i
s not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3326: error: Public symbol drawable/sym_keyboard_feedback_shift declared here is
not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3327: error: Public symbol drawable/sym_keyboard_feedback_shift_locked declared
here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3328: error: Public symbol drawable/sym_keyboard_feedback_space declared here is
not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3329: error: Public symbol drawable/sym_keyboard_num0_no_plus declared here is n
ot defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3330: error: Public symbol drawable/sym_keyboard_num1 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3331: error: Public symbol drawable/sym_keyboard_num2 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3332: error: Public symbol drawable/sym_keyboard_num3 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3333: error: Public symbol drawable/sym_keyboard_num4 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3334: error: Public symbol drawable/sym_keyboard_num5 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3335: error: Public symbol drawable/sym_keyboard_num6 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3336: error: Public symbol drawable/sym_keyboard_num7 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3337: error: Public symbol drawable/sym_keyboard_num8 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3338: error: Public symbol drawable/sym_keyboard_num9 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3339: error: Public symbol drawable/sym_keyboard_ok declared here is not defined
.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3340: error: Public symbol drawable/sym_keyboard_ok_dim declared here is not def
ined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3341: error: Public symbol drawable/sym_keyboard_return declared here is not def
ined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3342: error: Public symbol drawable/sym_keyboard_shift declared here is not defi
ned.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3343: error: Public symbol drawable/sym_keyboard_shift_locked declared here is n
ot defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3344: error: Public symbol drawable/sym_keyboard_space declared here is not defi
ned.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2586: error: Public symbol drawable/tab_bottom_left declared here is not defined
.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2587: error: Public symbol drawable/tab_bottom_left_v4 declared here is not defi
ned.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2588: error: Public symbol drawable/tab_bottom_right declared here is not define
d.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2589: error: Public symbol drawable/tab_bottom_right_v4 declared here is not def
ined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3345: error: Public symbol drawable/tab_focus declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3346: error: Public symbol drawable/tab_focus_bar_left declared here is not defi
ned.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3347: error: Public symbol drawable/tab_focus_bar_right declared here is not def
ined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2590: error: Public symbol drawable/tab_indicator declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2591: error: Public symbol drawable/tab_indicator_v4 declared here is not define
d.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3348: error: Public symbol drawable/tab_press declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3349: error: Public symbol drawable/tab_press_bar_left declared here is not defi
ned.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3350: error: Public symbol drawable/tab_press_bar_right declared here is not def
ined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3351: error: Public symbol drawable/tab_selected declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3352: error: Public symbol drawable/tab_selected_bar_left declared here is not d
efined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3353: error: Public symbol drawable/tab_selected_bar_left_v4 declared here is no
t defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3354: error: Public symbol drawable/tab_selected_bar_right declared here is not
defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3355: error: Public symbol drawable/tab_selected_bar_right_v4 declared here is n
ot defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3356: error: Public symbol drawable/tab_selected_v4 declared here is not defined
.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3357: error: Public symbol drawable/tab_unselected declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3358: error: Public symbol drawable/tab_unselected_v4 declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3359: error: Public symbol drawable/textfield_default declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3360: error: Public symbol drawable/textfield_disabled declared here is not defi
ned.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3361: error: Public symbol drawable/textfield_disabled_selected declared here is
not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3362: error: Public symbol drawable/textfield_pressed declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2592: error: Public symbol drawable/textfield_search declared here is not define
d.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3363: error: Public symbol drawable/textfield_search_default declared here is no
t defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2593: error: Public symbol drawable/textfield_search_empty declared here is not
defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3364: error: Public symbol drawable/textfield_search_empty_default declared here
is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3365: error: Public symbol drawable/textfield_search_empty_pressed declared here
is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3366: error: Public symbol drawable/textfield_search_empty_selected declared her
e is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3367: error: Public symbol drawable/textfield_search_pressed declared here is no
t defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3368: error: Public symbol drawable/textfield_search_selected declared here is n
ot defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3369: error: Public symbol drawable/textfield_selected declared here is not defi
ned.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2594: error: Public symbol drawable/timepicker_down_btn declared here is not def
ined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3370: error: Public symbol drawable/timepicker_down_disabled declared here is no
t defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3371: error: Public symbol drawable/timepicker_down_disabled_focused declared he
re is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3372: error: Public symbol drawable/timepicker_down_normal declared here is not
defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3373: error: Public symbol drawable/timepicker_down_pressed declared here is not
defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3374: error: Public symbol drawable/timepicker_down_selected declared here is no
t defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2595: error: Public symbol drawable/timepicker_input declared here is not define
d.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3375: error: Public symbol drawable/timepicker_input_disabled declared here is n
ot defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3376: error: Public symbol drawable/timepicker_input_normal declared here is not
defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3377: error: Public symbol drawable/timepicker_input_pressed declared here is no
t defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3378: error: Public symbol drawable/timepicker_input_selected declared here is n
ot defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2596: error: Public symbol drawable/timepicker_up_btn declared here is not defin
ed.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3379: error: Public symbol drawable/timepicker_up_disabled declared here is not
defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3380: error: Public symbol drawable/timepicker_up_disabled_focused declared here
is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3381: error: Public symbol drawable/timepicker_up_normal declared here is not de
fined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3382: error: Public symbol drawable/timepicker_up_pressed declared here is not d
efined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3383: error: Public symbol drawable/timepicker_up_selected declared here is not
defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2491: error: Public symbol drawable/title_bar declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3384: error: Public symbol drawable/title_bar_medium declared here is not define
d.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3385: error: Public symbol drawable/title_bar_portrait declared here is not defi
ned.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3386: error: Public symbol drawable/title_bar_portrait_cust declared here is not
defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3387: error: Public symbol drawable/title_bar_shadow declared here is not define
d.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2732: error: Public symbol drawable/title_bar_tall declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2720: error: Public symbol drawable/toast_frame declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3388: error: Public symbol drawable/unknown_image declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3389: error: Public symbol drawable/usb_android declared here is not defined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
3390: error: Public symbol drawable/usb_android_connected declared here is not d
efined.
C:\Documents and Settings\Administrator\Desktop\framework\res\values\public.xml:
2721: error: Public symbol drawable/zoom_plate declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
APKTOOL470372266661902132.tmp, -x, -S, C:\Documents and Settings\Administrator\D
esktop\framework\res, -M, C:\Documents and Settings\Administrator\Desktop\framew
ork\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:\D
OCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL470372266661902132.tmp, -x, -S, C:\Documen
ts and Settings\Administrator\Desktop\framework\res, -M, C:\Documents and Settin
gs\Administrator\Desktop\framework\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
C:\Documents and Settings\Administrator\Desktop>
with apktool 1.3.2 and 1.3.1
the resources.arsc is located in the keep folder of apk manager.
recompile in apkmanager and when you get the place in the script where it asks you if you want to keep any associated files tell it yes and then you must delete the resources.arsc file in the keep folder and then finish the script in apk manger.
i have no problems doing any of this but when i recheck the xml file after recompiling non of my changes are in the file. maybe im crazy.
battery xml and png's
I am having the same problem and it seems no one has any useful info to assist in this. I have used apktool, apkmanager and eclipse. I can get close. I am trying to get the v2 power control notification to recognize the 101 battery png's rather than the 7 or 8 that it has now. I can use 7zip and get everything transfered over and it looks right with the battery but the icon for 4g in the notifications is pointed to the sync icon. Doing it the other way i can get everythig looking right, 4g icon but the battery icon is completely gone. Have you had any luck seeing you were trying to do something very similar. I am about to pull my hair out as I have spent more than 40 hours trying to make this work.
t3project said:
ok, im having some problems here that i cant figure out. maybe im just being stupid. whenever i want to edit a framework-res.apk, for instance, when i want to manually add a super circle battery mod; i do things in this order:
1. decompile the apk to edit the necessary xml files
2. edit them, usually copy and paste the ones i need from a txt
3. recompile with new code edits
4. replace the necessary png files
but for some reason whenever i go to recompile the apk after modifying the code, i get errors and apkmanager will not produce a usable apk. wth am i doing wrong here?
these are the errors i get
Click to expand...
Click to collapse

[Q] Error while recompiling SystemUI.apk | Using apktool

So I have been trying to follow this tutorial:
http://forum.xda-developers.com/showthread.php?t=1292707&highlight=transparent
And I pull the SystemUI.apk from my ROM (Dlev2 v3|KI4).
I also pull the framework and install it via apktool. Then decompile the SystemUI.apk. Edit it. And try recompiling. It doesnt work. Throws a bunch of errors. It shows errors even on a untouched decompiled APK.
Kinda frustrated.. help me out please.
Log:
Code:
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:44: error: Public symbol dr
awable/shade_bg declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:8: error: Public entry iden
tifier 0x7f0200aa entry index is larger than available symbols (index 170, total
symbols 3).
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:8: error: Public symbol dra
wable/shade_bgcolor declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:45: error: Public symbol dr
awable/shade_handlebar declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:46: error: Public symbol dr
awable/shade_header_background declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:47: error: Public symbol dr
awable/stat_notify_alarm declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:48: error: Public symbol dr
awable/stat_notify_more declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:49: error: Public symbol dr
awable/stat_sys_battery_full declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:4: error: Public symbol dra
wable/stat_sys_data_4g_att declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:50: error: Public symbol dr
awable/stat_sys_data_4g_att_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:51: error: Public symbol dr
awable/stat_sys_data_4g_att_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:52: error: Public symbol dr
awable/stat_sys_data_4g_att_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:53: error: Public symbol dr
awable/stat_sys_data_4g_att_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:54: error: Public symbol dr
awable/stat_sys_data_bluetooth declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:55: error: Public symbol dr
awable/stat_sys_data_bluetooth_connected declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:56: error: Public symbol dr
awable/stat_sys_data_connected_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:57: error: Public symbol dr
awable/stat_sys_data_connected_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:58: error: Public symbol dr
awable/stat_sys_data_connected_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:59: error: Public symbol dr
awable/stat_sys_data_connected_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:60: error: Public symbol dr
awable/stat_sys_data_connected_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:61: error: Public symbol dr
awable/stat_sys_data_connected_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:62: error: Public symbol dr
awable/stat_sys_data_connected_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:63: error: Public symbol dr
awable/stat_sys_data_fully_connected_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:64: error: Public symbol dr
awable/stat_sys_data_fully_connected_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:65: error: Public symbol dr
awable/stat_sys_data_fully_connected_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:66: error: Public symbol dr
awable/stat_sys_data_fully_connected_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:67: error: Public symbol dr
awable/stat_sys_data_fully_connected_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:68: error: Public symbol dr
awable/stat_sys_data_fully_connected_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:69: error: Public symbol dr
awable/stat_sys_data_fully_connected_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:70: error: Public symbol dr
awable/stat_sys_data_fully_in_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:71: error: Public symbol dr
awable/stat_sys_data_fully_in_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:72: error: Public symbol dr
awable/stat_sys_data_fully_in_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:73: error: Public symbol dr
awable/stat_sys_data_fully_in_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:74: error: Public symbol dr
awable/stat_sys_data_fully_in_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:75: error: Public symbol dr
awable/stat_sys_data_fully_in_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:76: error: Public symbol dr
awable/stat_sys_data_fully_in_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:77: error: Public symbol dr
awable/stat_sys_data_fully_inandout_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:78: error: Public symbol dr
awable/stat_sys_data_fully_inandout_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:79: error: Public symbol dr
awable/stat_sys_data_fully_inandout_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:80: error: Public symbol dr
awable/stat_sys_data_fully_inandout_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:81: error: Public symbol dr
awable/stat_sys_data_fully_inandout_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:82: error: Public symbol dr
awable/stat_sys_data_fully_inandout_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:83: error: Public symbol dr
awable/stat_sys_data_fully_inandout_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:84: error: Public symbol dr
awable/stat_sys_data_fully_out_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:85: error: Public symbol dr
awable/stat_sys_data_fully_out_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:86: error: Public symbol dr
awable/stat_sys_data_fully_out_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:87: error: Public symbol dr
awable/stat_sys_data_fully_out_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:88: error: Public symbol dr
awable/stat_sys_data_fully_out_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:89: error: Public symbol dr
awable/stat_sys_data_fully_out_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:90: error: Public symbol dr
awable/stat_sys_data_fully_out_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:91: error: Public symbol dr
awable/stat_sys_data_in_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:92: error: Public symbol dr
awable/stat_sys_data_in_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:93: error: Public symbol dr
awable/stat_sys_data_in_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:94: error: Public symbol dr
awable/stat_sys_data_in_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:95: error: Public symbol dr
awable/stat_sys_data_in_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:96: error: Public symbol dr
awable/stat_sys_data_in_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:97: error: Public symbol dr
awable/stat_sys_data_in_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:98: error: Public symbol dr
awable/stat_sys_data_inadnout_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:99: error: Public symbol dr
awable/stat_sys_data_inandout_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:100: error: Public symbol d
rawable/stat_sys_data_inandout_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:101: error: Public symbol d
rawable/stat_sys_data_inandout_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:102: error: Public symbol d
rawable/stat_sys_data_inandout_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:103: error: Public symbol d
rawable/stat_sys_data_inandout_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:104: error: Public symbol d
rawable/stat_sys_data_inandout_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:105: error: Public symbol d
rawable/stat_sys_data_inandout_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:5: error: Public symbol dra
wable/stat_sys_data_lte_att declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:106: error: Public symbol d
rawable/stat_sys_data_lte_att_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:107: error: Public symbol d
rawable/stat_sys_data_lte_att_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:108: error: Public symbol d
rawable/stat_sys_data_lte_att_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:109: error: Public symbol d
rawable/stat_sys_data_lte_att_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:110: error: Public symbol d
rawable/stat_sys_data_out_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:111: error: Public symbol d
rawable/stat_sys_data_out_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:112: error: Public symbol d
rawable/stat_sys_data_out_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:113: error: Public symbol d
rawable/stat_sys_data_out_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:114: error: Public symbol d
rawable/stat_sys_data_out_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:115: error: Public symbol d
rawable/stat_sys_data_out_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:116: error: Public symbol d
rawable/stat_sys_data_out_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:117: error: Public symbol d
rawable/stat_sys_data_wimax_signal_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:118: error: Public symbol d
rawable/stat_sys_data_wimax_signal_0_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:119: error: Public symbol d
rawable/stat_sys_data_wimax_signal_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:120: error: Public symbol d
rawable/stat_sys_data_wimax_signal_1_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:121: error: Public symbol d
rawable/stat_sys_data_wimax_signal_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:122: error: Public symbol d
rawable/stat_sys_data_wimax_signal_2_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:123: error: Public symbol d
rawable/stat_sys_data_wimax_signal_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:124: error: Public symbol d
rawable/stat_sys_data_wimax_signal_3_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:125: error: Public symbol d
rawable/stat_sys_data_wimax_signal_disconnected declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:126: error: Public symbol d
rawable/stat_sys_data_wimax_signal_idle declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:127: error: Public symbol d
rawable/stat_sys_gps_acquiring declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:6: error: Public symbol dra
wable/stat_sys_gps_acquiring_anim declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:128: error: Public symbol d
rawable/stat_sys_no_sim declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:129: error: Public symbol d
rawable/stat_sys_r_signal_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:130: error: Public symbol d
rawable/stat_sys_r_signal_0_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:131: error: Public symbol d
rawable/stat_sys_r_signal_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:132: error: Public symbol d
rawable/stat_sys_r_signal_1_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:133: error: Public symbol d
rawable/stat_sys_r_signal_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:134: error: Public symbol d
rawable/stat_sys_r_signal_2_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:135: error: Public symbol d
rawable/stat_sys_r_signal_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:136: error: Public symbol d
rawable/stat_sys_r_signal_3_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:137: error: Public symbol d
rawable/stat_sys_r_signal_4 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:138: error: Public symbol d
rawable/stat_sys_r_signal_4_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:139: error: Public symbol d
rawable/stat_sys_r_signal_5 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:140: error: Public symbol d
rawable/stat_sys_r_signal_5_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:141: error: Public symbol d
rawable/stat_sys_ringer_silent declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:142: error: Public symbol d
rawable/stat_sys_ringer_vibrate declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:143: error: Public symbol d
rawable/stat_sys_roaming_cdma_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:7: error: Public symbol dra
wable/stat_sys_roaming_cdma_flash declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:144: error: Public symbol d
rawable/stat_sys_roaming_cdma_flash_anim0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:145: error: Public symbol d
rawable/stat_sys_roaming_cdma_flash_anim1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:146: error: Public symbol d
rawable/stat_sys_signal_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:147: error: Public symbol d
rawable/stat_sys_signal_0_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:148: error: Public symbol d
rawable/stat_sys_signal_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:149: error: Public symbol d
rawable/stat_sys_signal_1_fullyException in thread "main" brut.androlib.Androlib
Exception: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Deep\AppData\Local\Temp\APKTOOL1555933355827091098.tmp, -I, C:\Users\Deep\a
pktool\framework\1.apk, -S, C:\Users\Deep\Desktop\mk\decom\res, -M, C:\Users\Dee
p\Desktop\mk\decom\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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Deep\AppData\Local\Temp\APKTOOL1555933355827091098.tmp, -I, C:\Users\Deep\a
pktool\framework\1.apk, -S, C:\Users\Deep\Desktop\mk\decom\res, -M, C:\Users\Dee
p\Desktop\mk\decom\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:150: error: Public symbol d
rawable/stat_sys_signal_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:151: error: Public symbol d
rawable/stat_sys_signal_2_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:152: error: Public symbol d
rawable/stat_sys_signal_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:153: error: Public symbol d
rawable/stat_sys_signal_3_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:154: error: Public symbol d
rawable/stat_sys_signal_4 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:155: error: Public symbol d
rawable/stat_sys_signal_4_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:156: error: Public symbol d
rawable/stat_sys_signal_5 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:157: error: Public symbol d
rawable/stat_sys_signal_5_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:158: error: Public symbol d
rawable/stat_sys_signal_flightmode declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:159: error: Public symbol d
rawable/stat_sys_signal_null declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:160: error: Public symbol d
rawable/stat_sys_tty_mode declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:161: error: Public symbol d
rawable/stat_sys_wifi_signal_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:162: error: Public symbol d
rawable/stat_sys_wifi_signal_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:163: error: Public symbol d
rawable/stat_sys_wifi_signal_1_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:164: error: Public symbol d
rawable/stat_sys_wifi_signal_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:165: error: Public symbol d
rawable/stat_sys_wifi_signal_2_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:166: error: Public symbol d
rawable/stat_sys_wifi_signal_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:167: error: Public symbol d
rawable/stat_sys_wifi_signal_3_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:168: error: Public symbol d
rawable/stat_sys_wifi_signal_4 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:169: error: Public symbol d
rawable/stat_sys_wifi_signal_4_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:170: error: Public symbol d
rawable/status_bar_background declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:171: error: Public symbol d
rawable/status_bar_call_ongoing_background declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:172: error: Public symbol d
rawable/status_bar_close_on declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:173: error: Public symbol d
rawable/statusbar_background declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:174: error: Public symbol d
rawable/title_bar_portrait declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:175: error: Public symbol d
rawable/title_bar_shadow declared here is not defined.
Attached apk..
Did you try deleting Public.xml from res/values/??
Edit: having a quick look in the thread you linked, he says to sign SystemUI.apk.
You dont sign system apps or your phone will rain the pain!
Hope this helps.
dully79 said:
Did you try deleting Public.xml from res/values/??
Edit: having a quick look in the thread you linked, he says to sign SystemUI.apk.
You dont sign system apps or your phone will rain the pain!
Hope this helps.
Click to expand...
Click to collapse
Gonna try to delete it and see if it works. And I cant recompile the apk, signing comes on later
Thanks for replying.
Nah deleting that didnt work either. I noticed this while decompiling tho:
Code:
C:\Users\Deep\Desktop\mk>apktool d C:\Users\Deep\Desktop\mk\SystemUI.apk C:\User
s\Deep\Desktop\mk\decompiled
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Deep\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/title_bar_portrait.9.png". Ren
aming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_close_on.9.png". Re
naming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/quickpanel_title_background.9.
png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\Deep\Desktop\mk>
Looking at your log, you probably have .png's named as .9.png's
Open up the attached zip and move the images into the SystemUI.apk you are decompiling:
res/drawable-hdpi/
These should decompile fine, i decompile them all the time with no problems.
Wrongly patched. 9 PNG files. That's why you can't decompile.
Is transparency working in 2.3.5 roms? I thought it didnt.
update
Modified Systemui.apk attached. The problem with the original one is that title_bar_portrait.9.png is screwed up. I have not rectified it. Left it as it is, but made the other changes and added the transparent png files.
sileshnair said:
Wrongly patched. 9 PNG files. That's why you can't decompile.
Is transparency working in 2.3.5 roms? I thought it didnt.
update
Modified Systemui.apk attached. The problem with the original one is that title_bar_portrait.9.png is screwed up. I have not rectified it. Left it as it is, but made the other changes and added the transparent png files.
Click to expand...
Click to collapse
Thanks, I pushed it onto my ROM and it worked. But somethings up, its transparent at times. Its not at times. Works though. We could improve upon it.

[Q] Can't recompile framework-res.apk :(

Hey there,
I want to modify progressbar for the new ICS theme I am making. As progressbar lies in /res/drawable/progress_horizontal.xml, I decompiled framework-res.apk, edited the xml and tried to recompile it (using APKManager, apktool both)
but I'm getting this error :
http://pastebin.com/MATYs4Z9
OR
Code:
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3854:
error: Public symbol drawable/zzz_unlock_ctr_nor_ff declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3855:
error: Public symbol drawable/zzz_unlock_ctr_nor_pause declared here is not def
ined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3856:
error: Public symbol drawable/zzz_unlock_ctr_nor_play declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3857:
error: Public symbol drawable/zzz_unlock_ctr_nor_rew declared here is not defin
ed.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3858:
error: Public symbol drawable/zzz_unlock_ctr_pr_ff declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3859:
error: Public symbol drawable/zzz_unlock_ctr_pr_pause declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3860:
error: Public symbol drawable/zzz_unlock_ctr_pr_play declared here is not defin
ed.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3861:
error: Public symbol drawable/zzz_unlock_ctr_pr_rew declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3862:
error: Public symbol drawable/zzz_unlock_default_cd_image declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3863:
error: Public symbol drawable/zzz_unlock_disk_background declared here is not d
efined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3864:
error: Public symbol drawable/zzz_unlock_disk_close declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3865:
error: Public symbol drawable/zzz_unlock_disk_default declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3866:
error: Public symbol drawable/zzz_unlock_disk_open declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3867:
error: Public symbol drawable/zzz_unlock_diskbg declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3868:
error: Public symbol drawable/zzz_unlock_diskimg01 declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3869:
error: Public symbol drawable/zzz_unlock_dualclock_bg declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3870:
error: Public symbol drawable/zzz_unlock_icon_lock declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3871:
error: Public symbol drawable/zzz_unlock_lockbg declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3872:
error: Public symbol drawable/zzz_unlock_music_sound_bg declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3873:
error: Public symbol drawable/zzz_unlock_music_sound_bg_f declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3874:
error: Public symbol drawable/zzz_unlock_music_sound_bg_p declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3875:
error: Public symbol drawable/zzz_unlock_noti_icon_call declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3876:
error: Public symbol drawable/zzz_unlock_noti_icon_email declared here is not d
efined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3877:
error: Public symbol drawable/zzz_unlock_noti_icon_mail declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3878:
error: Public symbol drawable/zzz_unlock_noti_slidebg declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3879:
error: Public symbol drawable/zzz_unlock_puzzle_bg declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3880:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_call declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3881:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_call_fit declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3882:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_email declared here i
s not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3883:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_email_fit declared he
re is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3884:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_mail declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3885:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_mail_fit declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3886:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_unlock declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3887:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_unlock_fit declared h
ere is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3888:
error: Public symbol drawable/zzz_unlock_selector_album declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3889:
error: Public symbol drawable/zzz_unlock_selector_ff declared here is not defin
ed.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3890:
error: Public symbol drawable/zzz_unlock_selector_pause declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3891:
error: Public symbol drawable/zzz_unlock_selector_play declared here is not def
ined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3892:
error: Public symbol drawable/zzz_unlock_selector_rew declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3893:
error: Public symbol drawable/zzz_unlock_selector_without_album declared here i
s not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3894:
error: Public symbol drawable/zzz_unlock_textbg declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3059:
error: Public symbol drawable/zzzz_tw_popup_btn_check declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3754:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3755:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off_disable declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3756:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off_disable_focused decla
red here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3757:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off_pressed declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3758:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off_selected declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3759:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on declared here is not d
efined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3760:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on_disable declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3761:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on_disable_focused declar
ed here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3762:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on_pressed declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3763:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on_selected declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3060:
error: Public symbol drawable/zzzz_tw_popup_btn_radio declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3764:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_off declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3765:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_off_pressed declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3766:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_off_selected declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\toolException in thread "main" brut.androlib.A
ndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -
F, C:\Users\rahul\AppData\Local\Temp\APKTOOL8830860605895445426.tmp, -x, -S, F:\
GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res, -M, F:\GalaxyS\ROMS\App-E
dits\apktool\tool\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\rahul\AppData\Local\Temp\APKTOOL8830860605895445426.tmp, -x, -S, F:\GalaxyS
\ROMS\App-Edits\apktool\tool\framework-res\res, -M, F:\GalaxyS\ROMS\App-Edits\ap
ktool\tool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
\framework-res\res\values\public.xml:3767: error: Public symbol drawable/zzzz_tw
_popup_btn_radio_on declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3768:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_on_pressed declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3769:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_on_selected declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3895:
error: Public symbol drawable/zzzz_webselect_bg_topbar declared here is not def
ined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3066:
error: Public symbol drawable/zzzz_webselect_btn_bg declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3896:
error: Public symbol drawable/zzzz_webselect_dialog_bg declared here is not def
ined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3897:
error: Public symbol drawable/zzzz_webselect_dialog_btn_bg declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3898:
error: Public symbol drawable/zzzz_webselect_dialog_btn_bg_pressed declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3899:
error: Public symbol drawable/zzzz_webselect_topbar_key_bg_option declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3067:
error: Public symbol drawable/zzzz_webselect_topbar_key_bg_option_xml declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3900:
error: Public symbol drawable/zzzz_webselect_topbar_key_bg_press declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3198:
error: Public symbol drawable/zzzzz_tw_cursor_handle_bg declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:2969:
error: Public symbol drawable/zzzzz_tw_cursor_handle_menu_btn_background declar
ed here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3278:
error: Public symbol drawable/zzzzz_tw_quick_clip_board declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3279:
error: Public symbol drawable/zzzzz_tw_quick_copy declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3280:
error: Public symbol drawable/zzzzz_tw_quick_cut declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3281:
error: Public symbol drawable/zzzzz_tw_quick_paste declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3282:
error: Public symbol drawable/zzzzz_tw_quick_search declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3283:
error: Public symbol drawable/zzzzz_tw_quick_select declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3901:
error: Public symbol drawable/zzzzz_tw_quick_select_all declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3284:
error: Public symbol drawable/zzzzz_tw_quick_share declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3285:
error: Public symbol drawable/zzzzz_tw_quickcontact_arrow_down declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3286:
error: Public symbol drawable/zzzzz_tw_quickcontact_arrow_up declared here is n
ot defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3287:
error: Public symbol drawable/zzzzz_tw_quickcontact_bottom_frame declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3288:
error: Public symbol drawable/zzzzz_tw_quickcontact_drop_shadow declared here i
s not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3289:
error: Public symbol drawable/zzzzz_tw_quickcontact_frame_divider_med declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3290:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_background declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3902:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_normal declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3903:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_on declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3291:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_pressed declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3904:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_selected declare
d here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3292:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_grip_left declared h
ere is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3293:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_grip_right declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3294:
error: Public symbol drawable/zzzzz_tw_quickcontact_top_frame declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3905:
error: Public symbol drawable/zzzzzz_ic_lock_data_disable declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3906:
error: Public symbol drawable/zzzzzz_ic_lock_data_enable declared here is not d
efined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3907:
error: Public symbol drawable/zzzzzzz_sec_noti_icon_decryption declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3908:
error: Public symbol drawable/zzzzzzz_sec_noti_icon_encryption declared here is
not defined.
I don't know what's wrong with the framework-res.apk
I tried decompiling it with dependency but it doesn't work
Anybody wants to help me?
Regards,
Rahul
You can try manually packing it. Just place the xml file in drawable then select all files that should be in the apk and make a zip of them with the name framework-res.apk , compression set to normal. If the framework is not messed than it should work otherwise i think u messed up something in drawable-hdpi. Most probably u deleted a png from their. But i am not at all sure.
Rahul
the framework is it a odex Version or deodexed?
Sent from my GT-I9000 using Tapatalk
antonda said:
Rahul
the framework is it a odex Version or deodexed?
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
I think its deodexed as he is creating this theme for his rom which is deodexed.
BHuvan goyal said:
You can try manually packing it. Just place the xml file in drawable then select all files that should be in the apk and make a zip of them with the name framework-res.apk , compression set to normal. If the framework is not messed than it should work otherwise i think u messed up something in drawable-hdpi. Most probably u deleted a png from their. But i am not at all sure.
Click to expand...
Click to collapse
You can't put XML directly to package using zip utility. You'll end up with corrupted apk. Apk contains encoded XML files.
do you use apk-tool? i also have problems with framework recompiling and $omator obviously too. the bug has already been confirmed and got medium priority
http://code.google.com/p/android-apktool/issues/detail?id=260
edit: sorry didn't read properly, you used apk-tool . i think we will have to wait for a fix from brut.all
edit2: i assume you are talking about jvz framework-res.apk, right? It used to work flawless till 2.3.5 at least for me
I have experienced the same issue, and I found the following to work (at least on JVT):
1. Get a copy of a stock deodexed firmware. (Or deodex it yourself).
2. Decompile framework-res.apk from the stock firmware, and change the stock .xml-file.
3. Recompile it. This should work, as the only change you've made so far is to the .xml-file.
4. Open both the recompiled stock framework-res.apk that you've changed, and the framework-res.apk that you initially wanted to change in WinRAR (or similar).
5. Copy the modded .xml-file from the stock framework-res.apk to the one you initially wanted to change.
I have had to do this procedure every time I wanted to change an already modded/themed APK.
Let me know if it works.
PS: Make a backup of the .xml-file in your framework-res.apk, so you can change back if it doesn't work.
You might want to keep your eye on this thread by sonnysekhon.
http://forum.xda-developers.com/showthread.php?t=1377128
@Rahulrulez
You should have posted the entire log file
He asked me for help via PM, this is why I know that this line is missing:
Code:
Cant find 9patch chunk in file: "drawable-hdpi/title_bar_portrait.9.png". Renaming it to *.png.
Just delete title_bar_portrait.9.png before recompiling, problem solved.
When compiling framework-res.apk I get this any suggestions? Been trying for weeks but cant get it.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Jose\AppData\Local\Temp\APKTOOL1176450534202889103.tmp, -x, -S, C:\Users\Jose\Downloads\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res, -M, C:\Users\Jose\Downloads\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Jose\AppData\Local\Temp\APKTOOL1176450534202889103.tmp, -x, -S, C:\Users\Jose\Downloads\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res, -M, C:\Users\Jose\Downloads\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
apktool
You can try:
http://forum.xda-developers.com/showpost.php?p=19804145&postcount=5
or the best guide from Perka:
http://forum.xda-developers.com/showthread.php?t=1107201&highlight=apk+manager

Compiling Error

Any help? I deleted
Code:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.sec.tetheringprovision</item>
<item>com.sec.tetheringprovision.TetheringProvisionActivity</item>
</string-array>
Minus the String in the first line, (array name= etc....)
Whats going on and why do i keep getting this error? I tried compiling it without modifying anything and compiled perfectly fine. I am using the latest version of apkmultitool. Here is the error i keep getting from the log. If the error is repeating its self its only cause i tried compiling it several times
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Buckley\AppData\Local\Te
mp\APKTOOL3223650455394709120.tmp, -x, -0, arsc, -S, C:\Users\Buckley\Desktop\Dr
oid Explorer\APK-Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\User
s\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framework-res.
apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Buckley\AppData\Local\Temp\APKTOOL3223650455394709120.tmp, -x, -0, arsc,
-S, C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\fra
mework-res.apk\res, -M, C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\o
ther\..\projects\framework-res.apk\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, 16, --target-sdk-version, 16, -F, C:\Users\Buckley\AppData\Local\Temp
\APKTOOL3223650455394709120.tmp, -x, -0, arsc, -S, C:\Users\Buckley\Desktop\Droi
d Explorer\APK-Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\
Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framework-res.ap
k\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
--------------------------------------------------------------------------
|Wed 06/05/2013 -- 16:35:49.89|
--------------------------------------------------------------------------
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\arrays.xml:847: error: Error parsing XML: mismatched tag
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5400: error: Public symbol array/carrier_proper
ties declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5398: error: Public entry identifier 0x107003c
entry index is larger than available symbols (index 60, total symbols 19).
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5398: error: Public symbol array/common_nicknam
es declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5384: error: Public symbol array/config_autoBri
ghtnessButtonBacklightValues declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5382: error: Public symbol array/config_autoBri
ghtnessHysteresisLevels declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5385: error: Public symbol array/config_autoBri
ghtnessKeyboardBacklightValues declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5383: error: Public symbol array/config_autoBri
ghtnessLcdBacklightValues declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5381: error: Public symbol array/config_autoBri
ghtnessLevels declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5372: error: Public symbol array/config_cdma_du
n_supported_types declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5364: error: Public symbol array/config_data_us
age_network_types declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5391: error: Public symbol array/config_dynamic
AutoBrightnessHighHysteresisLevels declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5392: error: Public symbol array/config_dynamic
AutoBrightnessHighHysteresisValues declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5389: error: Public symbol array/config_dynamic
AutoBrightnessLevels declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5387: error: Public symbol array/config_dynamic
AutoBrightnessLowHysteresisLevels declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5388: error: Public symbol array/config_dynamic
AutoBrightnessLowHysteresisValues declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5390: error: Public symbol array/config_dynamic
AutoBrightnessValues declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5377: error: Public symbol array/config_keyboar
dTapVibePattern declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5375: error: Public symbol array/config_longPre
ssVibePattern declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5360: error: Public symbol array/config_masterV
olumeRamp declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5386: error: Public symbol array/config_minimum
ExpressiveBrightnessValues declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5370: error: Public symbol array/config_mobile_
hotspot_provision_app declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5401: error: Public symbol array/config_multiWi
ndowSupportAppList declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5396: error: Public symbol array/config_oemUsbM
odeOverride declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5362: error: Public symbol array/config_protect
edNetworks declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5378: error: Public symbol array/config_safeMod
eDisabledVibePattern declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5379: error: Public symbol array/config_safeMod
eEnabledVibePattern declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5380: error: Public symbol array/config_scrollB
arrierVibePattern declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5374: error: Public symbol array/config_serialP
orts declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5395: error: Public symbol array/config_sms_ena
bled_locking_shift_tables declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5394: error: Public symbol array/config_sms_ena
bled_single_shift_tables declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5359: error: Public symbol array/config_statusB
arIcons declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5368: error: Public symbol array/config_tether_
bluetooth_regexs declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5369: error: Public symbol array/config_tether_
dhcp_range declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5371: error: Public entry identifier 0x1070021
entry index is larger than available symbols (index 33, total symbols 19).
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5371: error: Public symbol array/config_tether_
upstream_types declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5365: error: Public symbol array/config_tether_
usb_regexs declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5366: error: Public symbol array/config_tether_
wifi_regexs declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5367: error: Public symbol array/config_tether_
wimax_regexs declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5393: error: Public entry identifier 0x1070037
entry index is larger than available symbols (index 55, total symbols 19).
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5393: error: Public symbol array/config_twoDigi
tNumberPattern declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5373: error: Public symbol array/config_usbHost
Blacklist declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5376: error: Public symbol array/config_virtual
KeyVibePattern declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5417: error: Public symbol array/default_apps_f
or_carcradle declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5418: error: Public symbol array/default_apps_f
or_deskcradle declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5416: error: Public symbol array/default_apps_f
or_earphone declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5415: error: Public symbol array/default_apps_f
or_spen declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5397: error: Public symbol array/hideApnBlackLi
st declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5399: error: Public entry identifier 0x107003d
entry index is larger than available symbols (index 61, total symbols 19).
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5399: error: Public symbol array/imAddressTypes
declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5357: error: Public entry identifier 0x1070013
entry index is larger than available symbols (index 19, total symbols 19).
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5357: error: Public symbol array/maps_starting_
lat_lng declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5358: error: Public entry identifier 0x1070014
entry index is larger than available symbols (index 20, total symbols 19).
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5358: error: Public symbol array/maps_starting_
zoom declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5361: error: Public symbol array/networkAttribu
tes declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5346: error: Public symbol array/preloaded_colo
r_state_lists declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5345: error: Public symbol array/preloaded_draw
ables declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5363: error: Public symbol array/radioAttribute
s declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5347: error: Public symbol array/special_locale
_codes declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5348: error: Public symbol array/special_locale
_names declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5343: error: Public symbol array/telephony_prov
ider_3lm declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5344: error: Public symbol array/telephony_prov
ider_oem declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5412: error: Public symbol array/zzz_tts_locksc
reen_1_missed_call declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5413: error: Public symbol array/zzz_tts_locksc
reen_1_unread_message declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5409: error: Public symbol array/zzz_tts_locksc
reen_calls_and_messages declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5410: error: Public symbol array/zzz_tts_locksc
reen_n_missed_calls declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5411: error: Public symbol array/zzz_tts_locksc
reen_n_unread_messages declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5404: error: Public symbol array/zzz_tts_locksc
reen_time declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5402: error: Public symbol array/zzz_tts_locksc
reen_time_am declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5403: error: Public symbol array/zzz_tts_locksc
reen_time_pm declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5414: error: Public symbol array/zzz_tts_string
_langs declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5407: error: Public symbol array/zzz_tts_temp_c
elsius declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5408: error: Public symbol array/zzz_tts_temp_f
ahrenheit declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5405: error: Public symbol array/zzz_tts_temper
ature declared here is not defined.
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framewo
rk-res.apk\res\values\public.xml:5406: error: Public symbol array/zzz_tts_temper
ature_for_sina declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Buckley\AppData\Local\Te
mp\APKTOOL2711339295219840313.tmp, -x, -0, arsc, -S, C:\Users\Buckley\Desktop\Dr
oid Explorer\APK-Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\User
s\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framework-res.
apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Buckley\AppData\Local\Temp\APKTOOL2711339295219840313.tmp, -x, -0, arsc,
-S, C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\fra
mework-res.apk\res, -M, C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\o
ther\..\projects\framework-res.apk\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, 16, --target-sdk-version, 16, -F, C:\Users\Buckley\AppData\Local\Temp
\APKTOOL2711339295219840313.tmp, -x, -0, arsc, -S, C:\Users\Buckley\Desktop\Droi
d Explorer\APK-Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\
Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framework-res.ap
k\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
Press any key to continue . . .
What are you compiling exactly? Try to be more specific.
If you are using an apk from a 4.1.2 build or later, you probably need to update your sdk.
Sent from my SGH-T999 using xda premium
sswb27 said:
What are you compiling exactly? Try to be more specific.
Click to expand...
Click to collapse
I am trying to compile framework-res.apk. I was doing the first step in this tutorial http://forum.xda-developers.com/showthread.php?t=2057344 for the tethering (not the bluetooth) and i just cant seem to compile the apk. i am using the latest version of apkmultitool by the way
Not apktool. The android sdk. If you are trying to work with sonething from a 4.1.2 or later rom the api needs to be 17 if im not mistaken. The log you posted says you couldnt execute aapt, min sdk version 16, target version 16.
That needs to be version 17 if im not mistaken.
I could be wrong, but at least its something easy to try.
Sent from my SGH-T999 using xda premium
DocHoliday77 said:
Not apktool. The android sdk. If you are trying to work with sonething from a 4.1.2 or later rom the api needs to be 17 if im not mistaken. The log you posted says you couldnt execute aapt, min sdk version 16, target version 16.
That needs to be version 17 if im not mistaken.
I could be wrong, but at least its something easy to try.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Hmmm I havent got any issues recompiling/compiling with the new 4.1.2 update.. And I never updated my SDK
---------- Post added at 01:06 AM ---------- Previous post was at 01:04 AM ----------
buckhouse said:
Any help? I deleted
Code:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.sec.tetheringprovision</item>
<item>com.sec.tetheringprovision.TetheringProvisionActivity</item>
</string-array>
Minus the String in the first line, (array name= etc....)
Whats going on and why do i keep getting this error? I tried compiling it without modifying anything and compiled perfectly fine. I am using the latest version of apkmultitool. Here is the error i keep getting from the log. If the error is repeating its self its only cause i tried compiling it several times[/CODE]
Click to expand...
Click to collapse
Are you sure you are doing it right? One messed up line can make it not to compile.. For example after you do the trick it should look like this
string-array name="config_mobile_hotspot_provision_app" />
Click to expand...
Click to collapse
Remember there is a space after APP" and a / with >
gypsy214 said:
Hmmm I havent got any issues recompiling/compiling with the new 4.1.2 update.. And I never updated my SDK
Click to expand...
Click to collapse
Like I said I could be mistaken. And probably was!
Now that I think about it more, 17 may be for 4.2.x.
Was going from memory and wanted to at least give something to try. Sorry bout that!
Thanks!
Sent from my SGH-T999 using xda premium
I have updated my sdk and has all builds and what not from 4.2.2 all the way to 1.5 so I have no idea what's going on
Sent from my SGH-T999 using xda premium
What are you chsnging?
Most of the problems listed are in the public.xml. did you add, change or remove any icons?
You may need to go in and manually define any changes. (Going from memory here, but if your change forced aapt to change other items in the xml, thatll cause problems...)
Have you asked in any apktool/multitool threads? Youll probably find people with a lot more experience than me in those.
Many who do this type of stuff for specific phones dont keep up with the q&a forums.
Sent from my SGH-T999 using xda premium
Dude did you checked on the xml to see if there a line that your messing up? If you decompile it fine. Trying to get the tether hack. Check every line of what you change. Like I said one line you messed up it wont compile back and from the error log you got seems like there is a mismatch on the xml
gypsy214 said:
Dude did you checked on the xml to see if there a line that your messing up? If you decompile it fine. Trying to get the tether hack. Check every line of what you change. Like I said one line you messed up it wont compile back and from the error log you got seems like there is a mismatch on the xml
Click to expand...
Click to collapse
I'm encounter the same problem hoping to find something somewhere and google get me here!
just look at the errors!
most of them are like this =>
Code:
C:\Users\Buckley\Desktop\Droid Explorer\APK-Multi-Tool\other\..\projects\framework-res.apk\res\values\public.xml:5399: error: Public entry identifier 0x107003d entry index is larger than available symbols (index 61, total symbols 19)
and mine is :
Code:
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7367: error: Public entry identifier 0x108098c entry index is larger than available symbols (index 2444, total symbols 2434).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7367: error: Public symbol drawable/unlock_wave declared here is not defined.
why the entry index is larger than available symbols? does symbols have a limit? maybe that's why we have 2 frameworks
Each of the items/icons are definex in the public.xml
The 0x85689055 or whatever is the I'd assigned to a particular item.
If you changed anything, add/remove/rename an item, ut has to be defined in the xml. If the Id its looking for is not there it may cause this error.
When you compile your apk, aapt automatically goes through and assigns everything their own unique ID. So If you replaced something, it can screw up a whole bunch if them.
Sent from my SGH-T999L using xda premium
If you are trying to use Jovy's tether hack.. But you want to do it yourself to learn more.. I attached my framework-res.apk so you can have an idea.. You can compare it to yours and see where you messed up..
I hope this helps you out.
I know that only problem i get when I cant compile back is because there is a line messed up.. It could be a space,letter,number, anything
Framework-res.apk
this whole thing just gives me headaches :crying:
I'm getting same error as OP my framework apk matched up perfect with the one gypsy posted

Help Me with This Apktool error on recompile framework

Thanks to all that want to hel me
I need Help with this error on recompile a framework-res.apk
It's seems that apktool need this source reference located on res/values/public.xml
this strings are present but how can i solve this problem?
Code:
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8605: error: Public symbol ^attr-private/accessibilityFocusedDrawable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8589: error: Public symbol ^attr-private/actionModePopupWindowStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8588: error: Public symbol ^attr-private/activityChooserViewStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8579: error: Public symbol ^attr-private/alertDialogButtonGroupStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8580: error: Public symbol ^attr-private/alertDialogCenterButtons declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8707: error: Public symbol ^attr-private/allowMassStorage declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8685: error: Public symbol ^attr-private/allowScaling declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8682: error: Public symbol ^attr-private/alwaysTrackFinger declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8666: error: Public symbol ^attr-private/amPmSelectedBackgroundColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8688: error: Public symbol ^attr-private/aspect declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8631: error: Public symbol ^attr-private/backgroundLeft declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8630: error: Public symbol ^attr-private/backgroundRight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8698: error: Public symbol ^attr-private/bitmap declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8636: error: Public symbol ^attr-private/borderBottom declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8637: error: Public symbol ^attr-private/borderLeft declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8638: error: Public symbol ^attr-private/borderRight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8635: error: Public symbol ^attr-private/borderTop declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8731: error: Public symbol ^attr-private/buttonGravity declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8617: error: Public symbol ^attr-private/buttonPanelSideLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8648: error: Public symbol ^attr-private/calendarSelectedTextColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8654: error: Public symbol ^attr-private/calendarViewMode declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8738: error: Public symbol ^attr-private/cantSaveState declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8625: error: Public symbol ^attr-private/checkMarkGravity declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8643: error: Public symbol ^attr-private/clickColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8693: error: Public symbol ^attr-private/closeItemLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8732: error: Public symbol ^attr-private/collapseIcon declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8608: error: Public symbol ^attr-private/colorSwitchThumbNormal declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8599: error: Public symbol ^attr-private/dialogCustomTitleDecorLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8600: error: Public symbol ^attr-private/dialogTitleDecorLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8598: error: Public symbol ^attr-private/dialogTitleIconsDecorLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8646: error: Public symbol ^attr-private/disableChildrenWhenDisabled declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8715: error: Public symbol ^attr-private/dotSize declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8634: error: Public symbol ^attr-private/drawableAlpha declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8576: error: Public symbol ^attr-private/dropdownListPreferredItemHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8705: error: Public symbol ^attr-private/emulated declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8691: error: Public symbol ^attr-private/errorColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8574: error: Public symbol ^attr-private/errorMessageAboveBackground declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8573: error: Public symbol ^attr-private/errorMessageBackground declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8671: error: Public symbol ^attr-private/expandActivityOverflowButtonDrawable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8711: error: Public symbol ^attr-private/externalRouteEnabledDrawable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8681: error: Public symbol ^attr-private/feedbackCount declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8606: error: Public symbol ^attr-private/findOnPageNextDrawable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8607: error: Public symbol ^attr-private/findOnPagePreviousDrawable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8683: error: Public symbol ^attr-private/firstItemOffset declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8633: error: Public symbol ^attr-private/foregroundInsidePadding declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8586: error: Public symbol ^attr-private/fragmentBreadCrumbsStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8667: error: Public symbol ^attr-private/frameDuration declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8668: error: Public symbol ^attr-private/framesCount declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8584: error: Public symbol ^attr-private/gestureOverlayViewStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8717: error: Public symbol ^attr-private/glowDot declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8678: error: Public symbol ^attr-private/glowRadius declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8674: error: Public symbol ^attr-private/handleDrawable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8709: error: Public symbol ^attr-private/headerLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8710: error: Public symbol ^attr-private/headerRemoveIconIfEmpty declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8665: error: Public symbol ^attr-private/headerSelectedTextColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8663: error: Public symbol ^attr-private/hideWheelUntilFocused declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8623: error: Public symbol ^attr-private/horizontalProgressLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8699: error: Public symbol ^attr-private/hotSpotX declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8700: error: Public symbol ^attr-private/hotSpotY declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8670: error: Public symbol ^attr-private/initialActivityCount declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8647: error: Public symbol ^attr-private/internalLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8659: error: Public symbol ^attr-private/internalMaxHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8661: error: Public symbol ^attr-private/internalMaxWidth declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8658: error: Public symbol ^attr-private/internalMinHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8660: error: Public symbol ^attr-private/internalMinWidth declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8721: error: Public symbol ^attr-private/itemColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8720: error: Public symbol ^attr-private/itemLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8672: error: Public symbol ^attr-private/keyboardViewStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8735: error: Public symbol ^attr-private/layout_alwaysShow declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8722: error: Public symbol ^attr-private/layout_centerWithinArea declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8719: error: Public symbol ^attr-private/layout_childType declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8736: error: Public symbol ^attr-private/layout_ignoreOffset declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8686: error: Public symbol ^attr-private/layout_maxHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8723: error: Public symbol ^attr-private/layout_maxWidth declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8687: error: Public symbol ^attr-private/layout_minHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8639: error: Public symbol ^attr-private/layout_removeBorders declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8718: error: Public symbol ^attr-private/leftToRight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8664: error: Public symbol ^attr-private/legacyLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8611: error: Public symbol ^attr-private/lightRadius declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8609: error: Public symbol ^attr-private/lightY declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8610: error: Public symbol ^attr-private/lightZ declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8621: error: Public symbol ^attr-private/listItemLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8618: error: Public symbol ^attr-private/listLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8684: error: Public symbol ^attr-private/magneticTargets declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8652: error: Public symbol ^attr-private/majorWeightMax declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8650: error: Public symbol ^attr-private/majorWeightMin declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8729: error: Public symbol ^attr-private/maxButtonHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8733: error: Public symbol ^attr-private/maxCollapsedHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8734: error: Public symbol ^attr-private/maxCollapsedHeightSmall declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8708: error: Public symbol ^attr-private/maxFileSize declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8641: error: Public symbol ^attr-private/maxItems declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8653: error: Public symbol ^attr-private/minorWeightMax declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8651: error: Public symbol ^attr-private/minorWeightMin declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8701: error: Public symbol ^attr-private/mountPoint declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8706: error: Public symbol ^attr-private/mtpReserve declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8619: error: Public symbol ^attr-private/multiChoiceItemLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8730: error: Public symbol ^attr-private/navigationButtonStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8740: error: Public symbol ^attr-private/needAccessControl declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8624: error: Public symbol ^attr-private/needsDefaultBackgrounds declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8737: error: Public symbol ^attr-private/neverEncrypt declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8716: error: Public symbol ^attr-private/numDots declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8587: error: Public symbol ^attr-private/numberPickerStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8677: error: Public symbol ^attr-private/outerRadius declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8675: error: Public symbol ^attr-private/outerRingDrawable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8712: error: Public symbol ^attr-private/pageSpacing declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8581: error: Public symbol ^attr-private/panelMenuIsCompact declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8583: error: Public symbol ^attr-private/panelMenuListTheme declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8582: error: Public symbol ^attr-private/panelMenuListWidth declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8689: error: Public symbol ^attr-private/pathColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8676: error: Public symbol ^attr-private/pointDrawable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8694: error: Public symbol ^attr-private/pointerIconArrow declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8697: error: Public symbol ^attr-private/pointerIconSpotAnchor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8695: error: Public symbol ^attr-private/pointerIconSpotHover declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8696: error: Public symbol ^attr-private/pointerIconSpotTouch declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8604: error: Public symbol ^attr-private/pointerStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8645: error: Public symbol ^attr-private/popupPromptView declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8632: error: Public symbol ^attr-private/position declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8590: error: Public symbol ^attr-private/preferenceActivityStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8595: error: Public symbol ^attr-private/preferenceFragmentListStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8596: error: Public symbol ^attr-private/preferenceFragmentPaddingSide declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8591: error: Public symbol ^attr-private/preferenceFragmentStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8603: error: Public symbol ^attr-private/preferenceFrameLayoutStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8593: error: Public symbol ^attr-private/preferenceHeaderPanelStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8594: error: Public symbol ^attr-private/preferenceListStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8592: error: Public symbol ^attr-private/preferencePanelStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8640: error: Public symbol ^attr-private/preserveIconSpacing declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8703: error: Public symbol ^attr-private/primary declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8739: error: Public symbol ^attr-private/primaryUserOnly declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8622: error: Public symbol ^attr-private/progressLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8585: error: Public symbol ^attr-private/quickContactBadgeOverlay declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8649: error: Public symbol ^attr-private/quickContactWindowSize declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8690: error: Public symbol ^attr-private/regularColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8704: error: Public symbol ^attr-private/removable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8642: error: Public symbol ^attr-private/resOutColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8713: error: Public symbol ^attr-private/scrollIndicatorPaddingLeft declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8714: error: Public symbol ^attr-private/scrollIndicatorPaddingRight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8602: error: Public symbol ^attr-private/searchDialogTheme declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8575: error: Public symbol ^attr-private/searchResultListItemHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8567: error: Public symbol ^attr-private/searchWidgetCorpusItemBackground declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8597: error: Public symbol ^attr-private/seekBarPreferenceStyle declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8655: error: Public symbol ^attr-private/selectionDivider declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8656: error: Public symbol ^attr-private/selectionDividerHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8657: error: Public symbol ^attr-private/selectionDividersDistance declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8620: error: Public symbol ^attr-private/singleChoiceItemLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8680: error: Public symbol ^attr-private/snapMargin declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8669: error: Public symbol ^attr-private/state_accessibility_focused declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8702: error: Public symbol ^attr-private/storageDescription declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8692: error: Public symbol ^attr-private/successColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8644: error: Public symbol ^attr-private/tabLayout declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8673: error: Public symbol ^attr-private/targetDrawables declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8570: error: Public symbol ^attr-private/textAppearanceAutoCorrectionSuggestion declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8568: error: Public symbol ^attr-private/textAppearanceEasyCorrectSuggestion declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8569: error: Public symbol ^attr-private/textAppearanceMisspelledSuggestion declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8564: error: Public symbol ^attr-private/textColorPrimaryActivated declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8566: error: Public symbol ^attr-private/textColorSearchUrl declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8565: error: Public symbol ^attr-private/textColorSecondaryActivated declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8571: error: Public symbol ^attr-private/textUnderlineColor declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8572: error: Public symbol ^attr-private/textUnderlineThickness declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8626: error: Public symbol ^attr-private/thumbDrawable declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8628: error: Public symbol ^attr-private/thumbMinHeight declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8627: error: Public symbol ^attr-private/thumbMinWidth declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8728: error: Public symbol ^attr-private/titleMarginBottom declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8726: error: Public symbol ^attr-private/titleMarginEnd declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8725: error: Public symbol ^attr-private/titleMarginStart declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8727: error: Public symbol ^attr-private/titleMarginTop declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8724: error: Public symbol ^attr-private/titleMargins declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8601: error: Public symbol ^attr-private/toastFrameBackground declared here is not defined.
C:\Users\Simone\Desktop\m2mini proj\3-Out\framework-res_src.apk\res\values\public.xml:8629: error: Public symbol ^attr-private/trackDrawable declared here is not defined.

Categories

Resources