[Android Software Development] oluwaponmile:
I got the quicklaunch folder from a systemui.apk which works fine when I used apktool_1.5.2 but gave the following error using apktool_2.0.0r2:

C:\apktool2.0r2>apktool.bat b SystemUI

I: Using Apktool 2.0.0-RC2 on SystemUI

I: Checking whether sources has changed...

I: Smaling smali folder into classes.dex...

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[37,4] Error for input '.parameter': Invalid directive

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[38,4] Error for input '.parameter': Invalid directive

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[37,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[227,15] no viable alternative at input 'service'

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[227,23] no viable alternative at input 'Ljava/lang/Object;'

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[235,15] no viable alternative at input 'statusbarManager'

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[235,32] no viable alternative at input 'Ljava/lang/Class;'

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[254,15] no viable alternative at input 'collapse'

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[254,24] no viable alternative at input 'Ljava/lang/reflect/Method;'

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[283,15] no viable alternative at input 'collapse2'

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[283,25] no viable alternative at input 'Ljava/lang/reflect/Method;'

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[308,4] Error for input '.parameter': Invalid directive

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[308,15] mismatched input '"arg0"' expecting END_METHOD_DIRECTIVE

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[369,4] Error for input '.parameter': Invalid directive

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[369,15] mismatched input '"arg0"' expecting END_METHOD_DIRECTIVE

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[389,4] Error for input '.parameter': Invalid directive

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[389,15] mismatched input '"ic"' expecting END_METHOD_DIRECTIVE

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[401,4] Error for input '.parameter': Invalid directive

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[401,15] mismatched input '"color"' expecting END_METHOD_DIRECTIVE

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[415,4] Error for input '.parameter': Invalid directive

SystemUI\smali\com\android\systemui\statusbar\policy\quicklaunch\QuickLaunchButton.smali[415,15] mismatched input '"vis"' expecting END_METHOD_DIRECTIVE

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/statusbar/policy/quicklaunch/QuickLaunchButton.smali

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:358)

at brut.androlib.Androlib.buildSources(Androlib.java:298)

at brut.androlib.Androlib.build(Androlib.java:284)

at brut.androlib.Androlib.build(Androlib.java:258)

at brut.apktool.Main.cmdBuild(Main.java:240)

at brut.apktool.Main.main(Main.java:89)

C:\apktool2.0r2>

This is using the same framework and systemui in both cases.....

Is it possible that different smali files are needed for the later apktool?