綁定帳號登入

Android 台灣中文網

打印 上一主題 下一主題

[已解決] Rosie.apk [已解決]

 關閉 [複製連結] 查看: 1261|回覆: 5|好評: 0
跳轉到指定樓層
樓主
lcsboy | 收聽TA | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
發表於 2012-10-7 21:16

馬上加入Android 台灣中文網,立即免費下載應用遊戲。

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x
本帖最後由 lcsboy 於 2012-10-11 09:06 編輯

我把 apk和odex檔合併成一個檔後, 好像解開沒問題, 但是重新編譯時, 就會有一堆錯誤訊息, 請問有人可以解答嗎?
「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)
收藏收藏 分享分享 分享專題
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

沙發
onizuka320 | 收聽TA | 只看該作者
發表於 2012-10-8 10:19
有時候就算不改東西直接打包也有可能包不回去,但如果單單只是Rosie.apk不行就要看LOG提示你哪裡有錯。
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

板凳
 樓主| lcsboy | 收聽TA | 只看該作者
發表於 2012-10-9 06:35

解開時, 因為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...
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

地板
onizuka320 | 收聽TA | 只看該作者
發表於 2012-10-9 12:03
我先來說說我的經驗,如果無法打包我會換apktool的版本,重新 if 框架然後重頭來。
不知道你是改了什麼,還是什麼都沒改就包不回去,這個差很多。
這些錯誤都是指string的問題,或許你沒動過,但在解包時可能就產生錯誤。
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

5
 樓主| lcsboy | 收聽TA | 只看該作者
發表於 2012-10-10 06:10
apktool目前只有1.5.0 沒有更新版
aapt.exe也換到 解開/打包 framework.apk都沒問題

但是你可以試試看你的HTC J.

一樣的錯誤訊息, SystemUI.apk就可以順利打包回去
但是Rosie.apk就不行
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

6
 樓主| lcsboy | 收聽TA | 只看該作者
發表於 2012-10-11 09:05
依據錯誤訊息, 加入及刪除字串宣告後, 搞定
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則