onizuka320 發表於 2012-10-8 10:19
有時候就算不改東西直接打包也有可能包不回去,但如果單單只是Rosie.apk不行就要看LOG提示你哪裡有錯。 ...
解開時, 因為com.htc.resrouces.apk本來就會有error
D:\Download\HTC J\apktool>apktool d Rosie.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Lcsboy\apktool\framework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Users\Lcsboy\apktool\framework\2.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-mdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-mdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-mdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-mdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-mdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-mdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-mdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-mdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-mdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-mdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-mdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-mdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-hdpi-ERR39
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
但是就算有這樣的error, SystemUI.apk 無視訊息, 直接壓回去沒問題, 但是Rosie.apk確出現
D:\Download\HTC J\apktool>apktool b Rosie
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'all_apps_home_button_label' has no default translation in
D:\Download\HTC J\apktool\Rosie\res; found: ca rm tl
aapt: warning: string 'all_apps_tab_all' has no default translation in D:\Downlo
ad\HTC J\apktool\Rosie\res; found: ca tl
aapt: warning: string 'cancel_action' has no default translation in D:\Download\
HTC J\apktool\Rosie\res; found: ca rm tl
aapt: warning: string 'delete_zone_label_all_apps' has no default translation in
D:\Download\HTC J\apktool\Rosie\res; found: ca tl
aapt: warning: string 'delete_zone_label_workspace' has no default translation i
n D:\Download\HTC J\apktool\Rosie\res; found: ca tl
aapt: warning: string 'group_applications' has no default translation in D:\Down
load\HTC J\apktool\Rosie\res; found: ca rm tl
aapt: warning: string 'menu_add' has no default translation in D:\Download\HTC J
\apktool\Rosie\res; found: ca rm tl
aapt: warning: string 'menu_notifications' has no default translation in D:\Down
load\HTC J\apktool\Rosie\res; found: ca rm tl
aapt: warning: string 'menu_search' has no default translation in D:\Download\HT
C J\apktool\Rosie\res; found: ca rm tl
aapt: warning: string 'menu_settings' has no default translation in D:\Download\
HTC J\apktool\Rosie\res; found: ca rm tl
aapt: warning: string 'menu_wallpaper' has no default translation in D:\Download
\HTC J\apktool\Rosie\res; found: ca rm tl
aapt: warning: string 'rename_action' has no default translation in D:\Download\
HTC J\apktool\Rosie\res; found: ca rm tl
aapt: warning: string 'wallpaper_cancel' has no default translation in D:\Downlo
ad\HTC J\apktool\Rosie\res; found: ar bg ca cs da de el en_GB es es_US fa fi fr
hr hu in it iw ja ko lt lv nb nl pl pt pt_PT ro ru sk sl sr sv th tl tr uk vi zh
_CN zh_TW
aapt: warning: string 'wallpaper_chooser_empty' has no default translation in D:
\Download\HTC J\apktool\Rosie\res; found: ar bg ca cs da de el en_GB es es_US fa
fi fr hr hu in it iw ja ko lt lv nb nl pl pt pt_PT ro ru sk sl sr sv th tl tr u
k vi zh_CN zh_TW
aapt: warning: string 'wallpaper_dialog_title' has no default translation in D:\
Download\HTC J\apktool\Rosie\res; found: ar bg ca cs da de el en_GB es es_US fa
fi fr hr hu in it iw ja ko lt lv nb nl pl pt pt_PT ro ru sk sl sr sv th tl tr uk
vi zh_CN zh_TW
I: Building apk file... |