When a problem is encountered during re-assembly, incomplete error messages are
given, which do not indicate what file is affected. For example:
I: Smaling...
[65,4] regCount does not match the number of arguments of the method
Exception in thread "main" brut.androlib.AndrolibException: Could not smali
file: java.io.FileInputStream@6ef137d
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:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:256)
at brut.androlib.Androlib.buildSources(Androlib.java:213)
at brut.androlib.Androlib.build(Androlib.java:204)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:218)
at brut.apktool.Main.main(Main.java:74)
Instead of printing "java.io.FileInputStream@6ef137d", which is not helpful,
the problematic file name should be output.
Original issue reported on code.google.com by therealj...@gmail.com on 4 Jan 2013 at 4:03
Original issue reported on code.google.com by
therealj...@gmail.com
on 4 Jan 2013 at 4:03