sky201503 / android-apktool2

Automatically exported from code.google.com/p/android-apktool
0 stars 0 forks source link

rebuild systemUI.apk error "matches the given name with value @touchwiz:layout/quick_panel_call " #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi,Brut.alll
thanks ur help
i rebuild sch-i500 (version EC09) systeUI.apk has error
1. apktool if framework-res.apk
 get 1.apk
2.apktool if twframework-res.apk I500EC09
 get 2-I500EC09.apk
3. apktool d -f -t I500EC09 SystemUI.apk
unpack ok
4.no change anything , i rebuild 
  apktool b SystemUI
 i get error

SystemUI\res\layout\status_bar_expanded.xml:12: error: Error: No resource found 
that matches the given name (at 'layout' with value 
'@touchwiz:layout/quick_panel_call').

i check twframework-res.apk
spec resource 0x0203000a touchwiz:layout/quick_panel_call: flags=0x40000000
resource 0x0203000a touchwiz:layout/quick_panel_call: t=0x03 d=0x0000012d 
(s=0x0008 r=0x00) (PUBLIC)

check SystemUI.apk

            E: include (line=83)
              A: android:id(0x010100d0)=@0x7f090023
              A: android:visibility(0x010100dc)=(type 0x10)0x2
              A: android:layout_width(0x010100f4)=(type 0x10)0xffffffff
              A: layout=@0x203000a (Raw: "@touchwiz:layout/quick_panel_call")

friend, what error step i do?
thanks ur help

Original issue reported on code.google.com by coolf...@gmail.com on 8 Jul 2011 at 7:40

GoogleCodeExporter commented 9 years ago
Same exact problem...hmm...

sch-i500 IE20

SystemUI.apk

Original comment by salm9...@gmail.com on 17 Oct 2011 at 1:04

GoogleCodeExporter commented 9 years ago
The solution is to edit the apktool.yml to include twframework-res.apk.

version: 1.4.1
apkFileName: SystemUI.apk
isFrameworkApk: false
usesFramework:
  ids:
  - 1
  - 2

Then just copy over the original META-INF and AndroidManifest.xml before you 
push it.

~fix courtesy of Pendo over at XDA.

Original comment by salm9...@gmail.com on 17 Oct 2011 at 5:15

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 19 Nov 2012 at 11:28