本帖最後由 flying25200 於 2011-12-21 15:41 編輯
請問樓主
為何我按照步驟走
第一次順利完成修改電池圖示
但是第二次我想要多修改其他圖示(也就是icons那邊的圖示)
我也多放了systemUI.apk之後
卻一直封包失敗
以下是error log :
Decompiling framework-res.apk UOT-12-21-07-18-1
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-12-21-07-18-1
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textSize, value=0x02050029
W: Could not decode attr value, using undecoded value instead: ns=android, name=textSize, value=0x0205002e
I: Decoding values*/* XMLs...
I: Done.
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
Compiling framework-res.apk UOT-12-21-07-18-1
W: Could not find sources
I: Building resources...
I: Building apk file...
Compiling SystemUI.apk UOT-12-21-07-18-1
I: Framework installed to: /home/uot/apktool/framework/1.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
紅字是我自己標記的錯誤地方
請問這樣要如何修改???
|