[Galaxy Note GT-N7000 Android Development] ocoot:
[MENTION=369057]majdinj[/MENTION] hiiii... i'm try to adding safe mode reboot and toggles, but have error on smali. how?

this is code

[1171,4] The literal value must be between -8 and 7 inclusive
[1239,4] The literal value must be between -8 and 7 inclusive
[1241,4] mismatched tree node: I_STATEMENT_FORMAT22c_FIELD expecting I_CATCHES
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\APKMulti\projects\android.policy.jar\smali\com\android\internal\policy\impl\GlobalActions.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:36)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:256)
at brut.androlib.Androlib.buildSources(Androlib.java:217)
at brut.androlib.Androlib.build(Androlib.java:208)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
The filename, directory name, or volume label syntax is incorrect.
A subdirectory or file modified-system-apk-files-here already exists.
I: Checking whether sources has changed...
I: Smaling...
[6314,13] Label "goto_1c" is not defined.
[6328,16] Label "cond_1c" is not defined.
[6333,4] mismatched tree node: I_STATEMENT_FORMAT35c_METHOD expecting I_CATCHES
[6335,4] mismatched tree node: I_STATEMENT_FORMAT11x expecting <UP>
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\APKMulti\projects\SecSettings.apk\smali\com\android\settings\DisplaySettings.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:36)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:256)
at brut.androlib.Androlib.buildSources(Androlib.java:217)
at brut.androlib.Androlib.build(Androlib.java:208)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)

---------- Post added at 10:23 AM ---------- Previous post was at 10:22 AM ----------

[/COLOR [MENTION=369057]majdinj[/MENTION] hiiii... i'm try to adding safe mode reboot and toggles, but have error on smali. how to fix?

this is code

[1171,4] The literal value must be between -8 and 7 inclusive
[1239,4] The literal value must be between -8 and 7 inclusive
[1241,4] mismatched tree node: I_STATEMENT_FORMAT22c_FIELD expecting I_CATCHES
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\APKMulti\projects\android.policy.jar\smali\com\android\internal\policy\impl\GlobalActions.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:36)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:256)
at brut.androlib.Androlib.buildSources(Androlib.java:217)
at brut.androlib.Androlib.build(Androlib.java:208)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
The filename, directory name, or volume label syntax is incorrect.
A subdirectory or file modified-system-apk-files-here already exists.
I: Checking whether sources has changed...
I: Smaling...
[6314,13] Label "goto_1c" is not defined.
[6328,16] Label "cond_1c" is not defined.
[6333,4] mismatched tree node: I_STATEMENT_FORMAT35c_METHOD expecting I_CATCHES
[6335,4] mismatched tree node: I_STATEMENT_FORMAT11x expecting <UP>
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\APKMulti\projects\SecSettings.apk\smali\com\android\settings\DisplaySettings.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:36)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:256)
at brut.androlib.Androlib.buildSources(Androlib.java:217)
at brut.androlib.Androlib.build(Androlib.java:208)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)