Related
Hey Guys, I m Tryin to add 4 in 1 reboot function for TB ,
Reference:http://forum.xda-developers.com/showpost.php?p=8674580&postcount=1
when i get the end of step 1 , i have some problem .
apk manager show me an error when i compile apk:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3635: error: Mu
ltiple entry names declared for public entry identifier 0x101 in type drawable (
btn_media_player_disabled_selected vs download).
D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:2863: Originall
y defined here.
D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3635: error: Pu
blic symbol drawable/download declared here is not defined.
D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3633: error: Mu
ltiple entry names declared for public entry identifier 0xff in type drawable (b
tn_media_player vs reboot).
D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:2861: Originall
y defined here.
D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3633: error: Pu
blic symbol drawable/reboot declared here is not defined.
D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3634: error: Mu
ltiple entry names declared for public entry identifier 0x100 in type drawable (
btn_media_player_disabled vs recovery).
D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:2862: Originall
y defined here.
D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3634: error: Pu
blic symbol drawable/recovery 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\liem\AppData\Local\Temp\AP
KTOOL4973910132166951427.tmp, -x, -S, D:\apk\other\..\projects\framework-res.apk
\res, -M, D:\apk\other\..\projects\framework-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\liem\AppData\Local\Temp\APKTOOL4973910132166951427.tmp, -x, -S, D:\apk\othe
r\..\projects\framework-res.apk\res, -M, D:\apk\other\..\projects\framework-res.
apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
系统找不到指定的文件。
请按任意键继续. . .
D:\apk>
can anybody help ?
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
If you are an amateur/aficionado modder or themer, this is for you:
Some people are still having problems de/compiling system apks on Samsung ICS builds, most of the errors arising are related to "bad magic values". I googled a little and managed to find a modded Apktool. I’ve tested it and it has worked fine so far with many apks (e.g. framework-res, TouchWiz30Launcher, etc).
I packed all necessary files below, including new aapt from Android SDK 4.0.3. As you may already know, you need latest JDK for this to work.
*** NOTICE *** There are some apks like SystemUI that need special treatment. If errors are found when decompiling an apk with ICS Apktool, you have to try decompiling it using the Original Apktool which I've just uploaded, then for recompiling it you need to use the ICS Apktool (if you run the Original Apktool to recompile, you will probably encounter errors). Remember, both packages contain different aapt executables so it is recommended making two separate folders for each zip content.
Credit goes to Brut.all who developed the original Apktool and gcrut…@gmail.com who modded it.
NOTE: This thread is not intended to be a guide for modding or theming. If you want to start messing with apks, there are many tutorials out there.
this is not work for me... got error when trying to decompile SystemUI.apk:
Code:
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 35 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
any solution?
i04055 said:
this is not work for me... got error when trying to decompile SystemUI.apk:
Code:
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 35 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
any solution?
Click to expand...
Click to collapse
Delete classes.dex from SystemUI.apk before decompiling. If you want to edit classes.dex use smali/baksmali 1.3.2.
i04055 said:
this is not work for me... got error when trying to decompile SystemUI.apk:
Code:
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 35 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
any solution?
Click to expand...
Click to collapse
Do the following:
Decompile SystemUI using "Original Apktool" (already uploaded to the OP). If you try to recompile the apk with the Original Apktool you might find errors so you have to recompile it but this time using the "ICS Apktool". I hope this work for you.
sileshnair said:
Delete classes.dex from SystemUI.apk before decompiling. If you want to edit classes.dex use smali/baksmali 1.3.2.
Click to expand...
Click to collapse
I am succeed decompile it without classes.dex, searching for baksmali now...
-- edit ---
I've tried, but get the same error as below....
xtremesv said:
Do the following:
Decompile SystemUI using "Original Apktool" (already uploaded to the OP). If you try to recompile the apk with the Original Apktool you might find errors so you have to recompile it but this time using the "ICS Apktool". I hope this work for you.
Click to expand...
Click to collapse
I am able to decompile it with original apk tool but when I tried to recompile it using ICS apktool i got this error :
Code:
E:\android\Lab\SystemUI\res\values\public.xml:318: error: Public symbol drawable/tw_stat_sys_6_level_signal_3 declared h
erbrut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\edp\LOCA
LS~1\Temp\APKTOOL4562847521524937175.tmp, -I, C:\Documents and Settings\edp\apktool\framework\1.apk, -S, E:\android\Lab\
SystemUI\res, -M, E:\android\Lab\SystemUI\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:\DOCUME~1\edp\LOCALS~1\Temp\APKTOOL4562847
521524937175.tmp, -I, C:\Documents and Settings\edp\apktool\framework\1.apk, -S, E:\android\Lab\SystemUI\res, -M, E:\and
roid\Lab\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
e is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:319: error: Public symbol drawable/tw_stat_sys_6_level_signal_3_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:320: error: Public symbol drawable/tw_stat_sys_6_level_signal_4 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:321: error: Public symbol drawable/tw_stat_sys_6_level_signal_4_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:322: error: Public symbol drawable/tw_stat_sys_6_level_signal_5 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:323: error: Public symbol drawable/tw_stat_sys_6_level_signal_5_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:324: error: Public symbol drawable/tw_stat_sys_6_level_signal_6 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:325: error: Public symbol drawable/tw_stat_sys_6_level_signal_6_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:99: error: Public symbol drawable/tw_stat_sys_battery_not_charge declared
here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:326: error: Public symbol drawable/tw_stat_sys_signal_null declared here i
s not defined.
E:\android\Lab\SystemUI\res\values\public.xml:327: error: Public symbol drawable/tw_status_bar_close_on declared here is
not defined.
E:\android\Lab\SystemUI\res\values\public.xml:101: error: Public symbol drawable/zzz_stat_vt_signal declared here is not
defined.
E:\android\Lab\SystemUI\res\values\public.xml:102: error: Public symbol drawable/zzz_stat_vt_signal_null declared here i
s not defined.
what's going wrong here?
i04055 said:
I've tried, but get the same error as below....
I am able to decompile it with original apk tool but when I tried to recompile it using ICS apktool i got this error :
Code:
E:\android\Lab\SystemUI\res\values\public.xml:318: error: Public symbol drawable/tw_stat_sys_6_level_signal_3 declared h
erbrut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\edp\LOCA
LS~1\Temp\APKTOOL4562847521524937175.tmp, -I, C:\Documents and Settings\edp\apktool\framework\1.apk, -S, E:\android\Lab\
SystemUI\res, -M, E:\android\Lab\SystemUI\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:\DOCUME~1\edp\LOCALS~1\Temp\APKTOOL4562847
521524937175.tmp, -I, C:\Documents and Settings\edp\apktool\framework\1.apk, -S, E:\android\Lab\SystemUI\res, -M, E:\and
roid\Lab\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
e is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:319: error: Public symbol drawable/tw_stat_sys_6_level_signal_3_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:320: error: Public symbol drawable/tw_stat_sys_6_level_signal_4 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:321: error: Public symbol drawable/tw_stat_sys_6_level_signal_4_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:322: error: Public symbol drawable/tw_stat_sys_6_level_signal_5 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:323: error: Public symbol drawable/tw_stat_sys_6_level_signal_5_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:324: error: Public symbol drawable/tw_stat_sys_6_level_signal_6 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:325: error: Public symbol drawable/tw_stat_sys_6_level_signal_6_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:99: error: Public symbol drawable/tw_stat_sys_battery_not_charge declared
here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:326: error: Public symbol drawable/tw_stat_sys_signal_null declared here i
s not defined.
E:\android\Lab\SystemUI\res\values\public.xml:327: error: Public symbol drawable/tw_status_bar_close_on declared here is
not defined.
E:\android\Lab\SystemUI\res\values\public.xml:101: error: Public symbol drawable/zzz_stat_vt_signal declared here is not
defined.
E:\android\Lab\SystemUI\res\values\public.xml:102: error: Public symbol drawable/zzz_stat_vt_signal_null declared here i
s not defined.
what's going wrong here?
Click to expand...
Click to collapse
Take into account that both packages contents must be in separate folders to retain their respective aapt file which is different for each one. The best way to do this is to decompile SystemUI with Original Apktool then take the generated SystemUI folder and copy it into the ICS Apktool folder and recompile after your modding is done.
Nice thread mate. This will e of great help for new themers
Cheers
xtremesv said:
Take into account that both packages contents must be in separate folders to retain their respective aapt file which is different for each one. The best way to do this is to decompile SystemUI with Original Apktool then take the generated SystemUI folder and copy it into the ICS Apktool folder and recompile after your modding is done.
Click to expand...
Click to collapse
too bad... stil got same error... I'm really confused....
good job, helpful tool.
thank you.
I've solved my problems with apktool v1.4.3 and ICS-JPQ using the original aapt file of the last SDK/plattform-tools and not the aapt file provided by apktool. Now I can decompile/recompile whatever ICS file (at least for now).
Tested with framework-res.apk, SystemUI.apk, Settings.apk, Phone.apk and android.policy.jar
my2cents
i04055 said:
too bad... stil got same error... I'm really confused....
Click to expand...
Click to collapse
The last error you posted seemed related to bad version of aapt.exe. That's why I recommended using both Apktools one for decompiling and the other for rebuilding, that way is how it has worked in my case.
I wish I could've helped you more.
intronauta said:
I've solved my problems with apktool v1.4.3 and ICS-JPQ using the original aapt file of the last SDK/plattform-tools and not the aapt file provided by apktool. Now I can decompile/recompile whatever ICS file (at least for now).
Tested with framework-res.apk, SystemUI.apk, Settings.apk, Phone.apk and android.policy.jar
my2cents
Click to expand...
Click to collapse
this method work for me in the past, while decompiling MIUI's framework, now, can't seem to make it work using stock rom's framework, tried using different version of apktool and apk manager, and the one in this thread, to no avail. im also having that aapt problem
It's really a pain in the ass to find a way to decompile/compile any ics apk file, so hope the tips suggested in this thread work...
Sent from my GT-I9100 using Tapatalk 2 Beta-2
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
wanam said:
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
Click to expand...
Click to collapse
TKS wanam
wanam said:
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
Click to expand...
Click to collapse
Thanks, Wanam. I do really want this tool, too!!!
wanam said:
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
Click to expand...
Click to collapse
I just tried de-compiling and re-compiling the systemui.apk, which is the only apk I've had issues with since making the transfer to ICS and it worked perfect using this. Thank you SOOO much!!
Tiffany84 said:
I just tried de-compiling and re-compiling the systemui.apk, which is the only apk I've had issues with since making the transfer to ICS and it worked perfect using this. Thank you SOOO much!!
Click to expand...
Click to collapse
Hi, Tiffany. I have trouble when I decompile and compile SystemUI.apk. Can you show me the step? Do I need to pull framework-res.apk and twframework-res.apk first and run "apktool if" command?
Sent from my GT-I9100 using XDA
cyfgeorge said:
Hi, Tiffany. I have trouble when I decompile and compile SystemUI.apk. Can you show me the step? Do I need to pull framework-res.apk and twframework-res.apk first and run "apktool if" command?
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
Yes, only framework-res.apk.
wanam said:
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
Click to expand...
Click to collapse
I'm struggling with this could someone help please? I'm getting the following error when compiling framework-res
--------------------------------------------------------------------------
|24/03/2012 -- 17:09:19.00|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Mike\AppData\Local\Temp\APKTOOL4577066397448428082.tmp, -x, -S, C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\Android\android-sdk\Apk_Manager_ICS\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\Mike\AppData\Local\Temp\APKTOOL4577066397448428082.tmp, -x, -S, C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\Android\android-sdk\Apk_Manager_ICS\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
The system cannot find the file specified.
'7za' is not recognized as an internal or external command,
operable program or batch file.
'7za' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file specified.
Click to expand...
Click to collapse
Here's the log from decompiling
--------------------------------------------------------------------------
|24/03/2012 -- 17:01:57.71|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
Could Not Find C:\Android\android-sdk\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Android\android-sdk\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Click to expand...
Click to collapse
I have a question I hope you can help me..
I want to make contact image in infinityview smaller..So I decompiled infinitview.apk with apkmanager and there was no error...But I cant compile it now..
Can you help me how to comile it now?
am2222 said:
Can you help me how to comile it now?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1374394
Guide
Simple guide to decompile and recompile the apks and also look at the signature in the thread for how to sign system app.
http://forum.xda-developers.com/showthread.php?t=1860115
Hit "Thanks" if anyone helped you.:good:
Xperia Arc LT15i
Rooted/Bootloader Unlocked
Running Jelly Bean - FXP138/CM10
Thanks for your help..I looked at your links..those information are useful when I can compile new apk..But I cant even Compile it..I have this error
Code:
--------------------------------------------------------------------------
|Mon 09/24/2012 -- 20:25:18.78|
--------------------------------------------------------------------------
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_listitem_divider_vertical.9.png
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:99: error: Public symbol drawable/ab_solid_custom_blue_inverse_holo declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:29: error: Public symbol drawable/actionbutton_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:46: error: Public symbol drawable/contactinfo_list_selector declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:47: error: Public symbol drawable/divider_horizontal_dark_opaque declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:30: error: Public symbol drawable/facebook_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:48: error: Public symbol drawable/facebook_icn_large declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:100: error: Public symbol drawable/facet_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:49: error: Public symbol drawable/facet_unselected_holo declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:50: error: Public symbol drawable/facets_popup_list_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:51: error: Public symbol drawable/facets_popup_list_divider declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:52: error: Public symbol drawable/facets_popup_list_focus declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:53: error: Public symbol drawable/facets_posmarker_selected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:54: error: Public symbol drawable/facets_posmarker_selected_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:55: error: Public symbol drawable/facets_posmarker_unselected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:56: error: Public symbol drawable/facets_posmarker_unselected_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:57: error: Public symbol drawable/facets_selection_overlay_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:58: error: Public symbol drawable/facets_selection_overlay_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:59: error: Public symbol drawable/facets_titlebar_background_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:60: error: Public symbol drawable/facets_titlebar_background_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:61: error: Public symbol drawable/favoriteunstarglow declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:62: error: Public symbol drawable/fb_tagged_photo_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:63: error: Public symbol drawable/fb_tagged_photo_highlight declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:31: error: Public symbol drawable/fbi_phonebook_interests_temp declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:107: error: Public symbol drawable/grad declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:108: error: Public symbol drawable/grad2 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:32: error: Public symbol drawable/ic_spinner1 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:33: error: Public symbol drawable/ic_spinner2 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:34: error: Public symbol drawable/ic_spinner3 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:35: error: Public symbol drawable/ic_spinner4 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:36: error: Public symbol drawable/ic_spinner5 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:37: error: Public symbol drawable/ic_spinner6 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:38: error: Public symbol drawable/ic_spinner7 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:39: error: Public symbol drawable/ic_spinner8 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:64: error: Public symbol drawable/infiniteview_application_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:101: error: Public symbol drawable/infiniteview_calling_phone_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:65: error: Public symbol drawable/infiniteview_contact_picture_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:102: error: Public symbol drawable/infiniteview_contact_picture_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:103: error: Public symbol drawable/infiniteview_contact_picture_sim_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:66: error: Public symbol drawable/infiniteview_contactinfo_email_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:67Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL7482036284783967640.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
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\CRAZYV~1\AppData\Local\Temp\APKTOOL7482036284783967640.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
: error: Public symbol drawable/infiniteview_edit_contact_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:68: error: Public symbol drawable/infiniteview_favorite_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:104: error: Public symbol drawable/infiniteview_favorite_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:105: error: Public symbol drawable/infiniteview_favorite_btn_outlight declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:106: error: Public symbol drawable/infiniteview_favorite_btn_selected declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:69: error: Public symbol drawable/infiniteview_favorite_outlight_layout_drawable declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:40: error: Public symbol drawable/infiniteview_favorite_state declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:70: error: Public symbol drawable/infiniteview_gal_contacts_add_to_contacts declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:71: error: Public symbol drawable/infiniteview_listitem_divider_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:72: error: Public symbol drawable/infiniteview_menu_delete_contact declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:73: error: Public symbol drawable/infiniteview_menu_send_vcard declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:74: error: Public symbol drawable/infiniteview_message_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:75: error: Public symbol drawable/infiniteview_optionmenu_add_connection declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:76: error: Public symbol drawable/infiniteview_optionmenu_edit_contact declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:77: error: Public symbol drawable/infiniteview_optionmenu_set_as_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:78: error: Public symbol drawable/infiniteview_sending_message_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:41: error: Public symbol drawable/popup_full_dark declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:79: error: Public symbol drawable/portrait_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:42: error: Public symbol drawable/renren_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:80: error: Public symbol drawable/semc_action_btn_highlight_focused declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:81: error: Public symbol drawable/semc_action_btn_highlight_pressed declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:82: error: Public symbol drawable/semc_contact_picture_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:43: error: Public symbol drawable/semc_dark_header declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:83: error: Public symbol drawable/semc_facet_bg_h declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:84: error: Public symbol drawable/semc_facet_bg_v declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:85: error: Public symbol drawable/semc_facet_glow_h declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:86: error: Public symbol drawable/semc_facet_glow_v declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:87: error: Public symbol drawable/semc_facets_posmarker_selected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:88: error: Public symbol drawable/semc_facets_posmarker_unselected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:89: error: Public symbol drawable/semc_header declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:44: error: Public symbol drawable/semc_list_selector_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:90: error: Public symbol drawable/semc_list_selector_background_disabled declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:91: error: Public symbol drawable/semc_list_selector_background_focus declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:92: error: Public symbol drawable/semc_list_selector_background_longpress declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:93: error: Public symbol drawable/semc_list_selector_background_pressed declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:45: error: Public symbol drawable/semc_list_selector_background_transition declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:94: error: Public symbol drawable/semc_presence_away declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:95: error: Public symbol drawable/semc_presence_busy declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:96: error: Public symbol drawable/semc_presence_invisible declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:97: error: Public symbol drawable/semc_presence_offline declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:98: error: Public symbol drawable/semc_presence_online declared here is not defined.
Delete the public.xml before compiling, it gets rebuilt when you recompile.
Sent from my CM9'd Arc
am2222 said:
Thanks for your help..I looked at your links..those information are useful when I can compile new apk..But I cant even Compile it..I have this error
Code:
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_listitem_divider_vertical.9.png
Click to expand...
Click to collapse
what did you do to this image. were you able to do a clean de-compile then recompile with no changes?
Pvy
XperienceD said:
Delete the public.xml before compiling, it gets rebuilt when you recompile.
Sent from my CM9'd Arc
Click to expand...
Click to collapse
I deleted it and I have that problem again
Code:
|Tue 09/25/2012 -- 15:47:17.12|
--------------------------------------------------------------------------
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W/ResourceType( 5056): Bad XML block: header size 441 or total size 0 is larger than data size 0
libpng error: Read Error
ERROR: Failure processing PNG image F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_listitem_divider_vertical.9.png
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_2rows_lefticon.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_2rows_lefticon_rightbtn.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/infiniteview_listitem_divider_vertical').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_2rows_lefticon_rightbtn.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_default.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_external.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\eventstreamsource_listitem_default.xml:11: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_bigpicture.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/grad').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbi_information.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_spinner1').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbinterests_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/fbi_phonebook_interests_temp').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbinterests_view.xml:5: error: Error: No resource found that matches the given name (at 'divider' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbnotice.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/popup_full_dark').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbphotos_header.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/semc_dark_header').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbphotos_view.xml:5: error: Error: No resource found that matches the given name (at 'divider' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_socialstream_listitem.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/semc_list_selector_background').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_socialstream_listitem.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\main.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/grad2').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\main.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/facet_bg').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout-land\main.xml:11: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/facet_bg').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\actionbutton_bg.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_action_btn_highlight_pressed').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\actionbutton_bg.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_action_btn_highlight_focused').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\favoriteunstarglow.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\favoriteunstarglow.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-mdpi\favoriteunstarglow.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-mdpi\favoriteunstarglow.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-xhdpi\favoriteunstarglow.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-xhdpi\favoriteunstarglow.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_favorite_outlight_layout_drawable.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_favorite_outlight_layout_drawable.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_outlight').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-mdpi\infiniteview_favorite_outlight_layout_drawable.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-mdpi\infiniteview_favorite_outlight_layout_drawable.xml:5: error: Error: No resource found that Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL8487981651969686752.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
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\CRAZYV~1\AppData\Local\Temp\APKTOOL8487981651969686752.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_outlight').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_disabled').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:6: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_disabled').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:7: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_transition').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:8: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_transition').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:9: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_focus').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background_transition.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_pressed').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background_transition.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_longpress').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_optionmenu_edit_contact').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:5: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_menu_send_vcard').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:6: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_menu_delete_contact').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:7: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_optionmenu_set_as_default').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:8: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_gal_contacts_add_to_contacts').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:9: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_optionmenu_add_connection').
Still that image. Check the first error
Pvy
Sent from my Galaxy Nexus using xda premium
pvyParts said:
what did you do to this image. were you able to do a clean de-compile then recompile with no changes?
Pvy
Click to expand...
Click to collapse
Thanks for your help..I did nothing to it..I just edited to picture named grad.png and grad2.png (those file added by Aonworld in this topic http://forum.xda-developers.com/showthread.php?p=31893697#post31893697 ) and I also edited to numbers in main.xml and dimen.xml..
Is there any mistake that I done?
pvyParts said:
Still that image. Check the first error
Pvy
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks again..I am going to decompile it again..
am2222 said:
Thanks again..I am going to decompile it again..
Click to expand...
Click to collapse
Run a compile with no edits to make sure your environment is setup right for this apk
Let me know how you go
Sent from my Galaxy Nexus using xda premium
I decompiled file again and with any change to files I tried to compile it and this error happens .. :crying:
Code:
|Tue 09/25/2012 -- 16:55:00.54|
--------------------------------------------------------------------------
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
Could Not Find F:\Program Files (x86)\Android\apk_multi_tool1.0.6\place-apk-here-for-modding\../place-apk-here-for-modding/signedInfiniteView.apk
Could Not Find F:\Program Files (x86)\Android\apk_multi_tool1.0.6\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedInfiniteView.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Crazy Virus\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/infiniteview_listitem_divider_vertical.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Loading resource table from file: C:\Users\Crazy Virus\apktool\framework\2.apk
I: Loaded.
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\drawable-hdpi\infiniteview_listitem_divider_vertical.9.png
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:99: error: Public symbol drawable/ab_solid_custom_blue_inverse_holo declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:29: error: Public symbol drawable/actionbutton_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:46: error: Public symbol drawable/contactinfo_list_selector declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:47: error: Public symbol drawable/divider_horizontal_dark_opaque declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:30: error: Public symbol drawable/facebook_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:48: error: Public symbol drawable/facebook_icn_large declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:100: error: Public symbol drawable/facet_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:49: error: Public symbol drawable/facet_unselected_holo declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:50: error: Public symbol drawable/facets_popup_list_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:51: error: Public symbol drawable/facets_popup_list_divider declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:52: error: Public symbol drawable/facets_popup_list_focus declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:53: error: Public symbol drawable/facets_posmarker_selected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:54: error: Public symbol drawable/facets_posmarker_selected_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:55: error: Public symbol drawable/facets_posmarker_unselected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:56: error: Public symbol drawable/facets_posmarker_unselected_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:57: error: Public symbol drawable/facets_selection_overlay_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:58: error: Public symbol drawable/facets_selection_overlay_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:59: error: Public symbol drawable/facets_titlebar_background_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:60: error: Public symbol drawable/facets_titlebar_background_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:61: error: Public symbol drawable/favoriteunstarglow declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:62: error: Public symbol drawable/fb_tagged_photo_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:63: error: Public symbol drawable/fb_tagged_photo_highlight declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:31: error: Public symbol drawable/fbi_phonebook_interests_temp declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:107: error: Public symbol drawable/grad declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:108: error: Public symbol drawable/grad2 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:32: error: Public symbol drawable/ic_spinner1 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:33: error: Public symbol drawable/ic_spinner2 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:34: error: Public symbol drawable/ic_spinner3 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:35: error: Public symbol drawable/ic_spinner4 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:36: error: Public symbol drawable/ic_spinner5 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:37: error: Public symbol drawable/ic_spinner6 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:38: error: Public symbol drawable/ic_spinner7 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:39: error: Public symbol drawable/ic_spinner8 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:64: error: Public symbol drawable/infiniteview_application_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:101: error: Public symbol drawable/infiniteview_calling_phone_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:65: error: Public symbol drawable/infiniteview_contact_picture_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:102: error: Public symbol drawable/infiniteview_contact_picture_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:103: error: Public symbol drawable/infiniteview_contact_picture_sim_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:66: error: Public symbol drawable/infiniteview_contactinfo_email_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:67: error: Public symbol drawable/infiniteview_edit_contact_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projException in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL2605969037100639415.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
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\CRAZYV~1\AppData\Local\Temp\APKTOOL2605969037100639415.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
ects\InfiniteView.apk\res\values\public.xml:68: error: Public symbol drawable/infiniteview_favorite_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:104: error: Public symbol drawable/infiniteview_favorite_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:105: error: Public symbol drawable/infiniteview_favorite_btn_outlight declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:106: error: Public symbol drawable/infiniteview_favorite_btn_selected declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:69: error: Public symbol drawable/infiniteview_favorite_outlight_layout_drawable declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:40: error: Public symbol drawable/infiniteview_favorite_state declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:70: error: Public symbol drawable/infiniteview_gal_contacts_add_to_contacts declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:71: error: Public symbol drawable/infiniteview_listitem_divider_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:72: error: Public symbol drawable/infiniteview_menu_delete_contact declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:73: error: Public symbol drawable/infiniteview_menu_send_vcard declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:74: error: Public symbol drawable/infiniteview_message_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:75: error: Public symbol drawable/infiniteview_optionmenu_add_connection declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:76: error: Public symbol drawable/infiniteview_optionmenu_edit_contact declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:77: error: Public symbol drawable/infiniteview_optionmenu_set_as_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:78: error: Public symbol drawable/infiniteview_sending_message_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:41: error: Public symbol drawable/popup_full_dark declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:79: error: Public symbol drawable/portrait_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:42: error: Public symbol drawable/renren_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:80: error: Public symbol drawable/semc_action_btn_highlight_focused declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:81: error: Public symbol drawable/semc_action_btn_highlight_pressed declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:82: error: Public symbol drawable/semc_contact_picture_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:43: error: Public symbol drawable/semc_dark_header declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:83: error: Public symbol drawable/semc_facet_bg_h declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:84: error: Public symbol drawable/semc_facet_bg_v declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:85: error: Public symbol drawable/semc_facet_glow_h declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:86: error: Public symbol drawable/semc_facet_glow_v declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:87: error: Public symbol drawable/semc_facets_posmarker_selected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:88: error: Public symbol drawable/semc_facets_posmarker_unselected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:89: error: Public symbol drawable/semc_header declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:44: error: Public symbol drawable/semc_list_selector_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:90: error: Public symbol drawable/semc_list_selector_background_disabled declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:91: error: Public symbol drawable/semc_list_selector_background_focus declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:92: error: Public symbol drawable/semc_list_selector_background_longpress declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:93: error: Public symbol drawable/semc_list_selector_background_pressed declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:45: error: Public symbol drawable/semc_list_selector_background_transition declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:94: error: Public symbol drawable/semc_presence_away declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:95: error: Public symbol drawable/semc_presence_busy declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:96: error: Public symbol drawable/semc_presence_invisible declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:97: error: Public symbol drawable/semc_presence_offline declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:98: error: Public symbol drawable/semc_presence_online declared here is not defined.
Is not this problem because of my apktool version?where I can find last version?
Run a compile with no edits to make sure your environment is setup right for this apk
Click to expand...
Click to collapse
I use freamwork + SemcGenericUxpRes to decompile file and no error happens to decompile it but when I try to recompile, even with any change in files that error happens
am2222 said:
Is not this problem because of my apktool version?where I can find last version?
Click to expand...
Click to collapse
EDIT: Just tried myself to de and recompile the apk and it's given me errors, and tbh if I was trying to mod this myself I'd start with a stock apk, the .9 error would have put me off to begin with so either use a stock apk or ask Aeon which apktool they're using.
XperienceD said:
EDIT: Just tried myself to de and recompile the apk and it's given me errors, and tbh if I was trying to mod this myself I'd start with a stock apk, the .9 error would have put me off to begin with so either use a stock apk or ask Aeon which apktool they're using.
Click to expand...
Click to collapse
So,My problem is because of different version of apktool?
I will try to edit and compile stock version and see what will happen Thanks
I used last apktool and tested with stock application and still I have that problem again
am2222 said:
I used last apktool and tested with stock application and still I have that problem again
Click to expand...
Click to collapse
Ask Aeon which they're using, I have 3 different folders with 3 different apktools and they all gave errors when trying to recompile.
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