You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Hello World example the command line parameters are said to be as
such:
java -jar smali.jar --dex HelloWorld.smali
The above fails to do anything, just outputs the help screen
It seems that in version 0.92, the command line parameter has changed so
that it's this instead:
java -jar smali.jar -- HelloWorld.smali
or
java -jar smali.jar HelloWorld.smali
In this case, the above seems to be doing something, but it crashes with
this error:
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: Java heap space
at org.antlr.runtime.DFA.unpackEncodedString(DFA.java:191)
at org.jf.smali.smaliLexer.<clinit>(smaliLexer.java:20013)
at org.jf.smali.main.assembleSmaliFile(main.java:206)
at org.jf.smali.main.main(main.java:138)
Original issue reported on code.google.com by zippyco...@gmail.com on 3 Jul 2009 at 4:45
The text was updated successfully, but these errors were encountered:
Confirmed. I'll change the comments to reflect the new usage. As for the memory
error, I'm curious what your default heap size is. I wouldn't think you would
run
into heap space issues with just the HelloWorld code, unless you have a tiny
heap or
something. In any case adding an -Xmx512m option should do the trick.
Original comment by JesusFre...@gmail.com on 7 Jul 2009 at 12:46
Original issue reported on code.google.com by
zippyco...@gmail.com
on 3 Jul 2009 at 4:45The text was updated successfully, but these errors were encountered: