|
So, I tried this - seems there might be a few bugs:
>apktool.bat d PaintPot.apk
Unpacks it to a directory, seems to go fine, no error messages.
Then without changing anything I go
>apktool.bat b PaintPot
And there is a ton of errors, like.
....PaintPot\Screen1$frame.smali[223,11] no viable alternative at character '/'
....PaintPot\Screen1$frame.smali[494,4] [smali_file, method,statements_and_directives, ordered_debug_directive, line_directive, integral_literal] mismatched input [@1967,13433:13435='nop',<244>,494:4] expecting set null
....\PaintPot\Screen1$frame.smali[1351,4] [smali_file, method, statements_and_directives, ordered_debug_directive, line_directive, integral_literal] mismatched input [@5700,33232:33246=':sswitch_data_0',<158>,1351:4] expecting set null
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: java.io.FileInputStream@e83912
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unkn own Source)
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unkn own Source)
at brut.androlib.src.SmaliBuilder.buildFile(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.Androlib.buildSourcesSmali(Unknown Source)
at brut.androlib.Androlib.buildSources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
|