Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Resolved] [Q] Error compiling SystemUI.apk

OP cvamoose

26th August 2014, 06:08 AM   |  #1  
OP Junior Member
Thanks Meter: 0
2 posts
Join Date:Joined: Jan 2014

I'm trying to follow this guide [HOWTO]Implement Swipe to Remove Notification in the AOSP Gingerbread 2.3.7 | MoltenMotherBoard (RC-20131210) rom.
The problem is i'm getting the following error when recompiling SystemUI at the end of step 1.6

I: Using Apktool 2.0.0-Beta7 on SystemUI
I: Smaling...
Error for input '.parameter': Invalid directive
Error for input '.parameter': Invalid directive
Error for input '.parameter': Invalid directive
Error for input '.parameter': Invalid directive
 mismatched input '"e1"' expecting END_METHOD_DIRECTIVE
Error for input '.parameter': Invalid directive
Error for input '.parameter': Invalid directive
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file
: com/android/systemui/statusbar/LatestItemContainer$1.smali
        at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
        at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
        at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
        at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:337)
        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:233)
        at brut.apktool.Main.main(Main.java:88)

I would have posted in the HowTo thread but I don't have enough posts yet.
Anyone help or pointer in the right direction would be appreciated.
Last edited by cvamoose; 1st September 2014 at 05:24 AM. Reason: Resolved
1st September 2014, 05:18 AM   |  #2  
OP Junior Member
Thanks Meter: 0
2 posts
Join Date:Joined: Jan 2014

I fixed my problem after trying a few different versions of apktool, I was able to use version 1.5.2 to successfully compile.

Using swipe to remove with no problems.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes