Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I should note that when using the smali tool separately it did tell me exactly
which file, line and cause was.
Original comment by rogerbinns
on 23 Feb 2012 at 7:07
please explain how this issue was solved?
Original comment by pruthvib...@gmail.com
on 25 Sep 2012 at 12:24
I also used smali to find the problem. Get smali from code.google.com/p/smali/
Then run smali on the directory with the code you need to rebuild as follows:
java -Xmx512m -jar smali-<VERSION>.jar -o someOutputFile.dex
c:\path\to\code\folder
Note that <VERSION> is whatever version of smali you have. Just use whatever
the smali jar filename for this part.
The output file (-o option) is somewhat pointless if all you want is to have
smali print what the problem is, but if it works it would be nice to know where
your dex file will be
Original comment by nickwen...@gmail.com
on 25 Oct 2012 at 10:23
We can pipe smali output to the screen. I'll see about that.
Original comment by connor.tumbleson
on 16 Nov 2012 at 11:53
Original comment by connor.tumbleson
on 16 Nov 2012 at 11:53
Issue 384 has been merged into this issue.
Original comment by connor.tumbleson
on 4 Jan 2013 at 5:15
Now it'll tell you the file that the problem occurred on, but the problem is it
only will show you that file. Then if you have another error. It'll show the
next one on the next run, since it only processes a failure then dies out.
[7,16] mismatched input 'static' expecting COLON
Exception in thread "main" brut.androlib.AndrolibException: Could not smali
file:
/home/ibotpeaches/build/wip/rom_wip_aries/d_apks/Browser.apk/smali/com/android/b
rowser/Z.smali
Original comment by connor.tumbleson
on 5 Jan 2013 at 2:50
Original issue reported on code.google.com by
rogerbinns
on 3 Feb 2012 at 5:57