3 ms·
dex is an executable that comes with the SDK and converts files from .class (Java bytecode) to .dex (Dalvik bytecode) For a while there was a bug in the Dalvik
by pufuwozu 16y ago
dex is an executable that comes with the SDK and converts files from .class (Java bytecode) to .dex (Dalvik bytecode)
For a while there was a bug in the Dalvik VM that wouldn't let you run some Scala methods but I made a patch to fix that problem. I think it's in all releases after Android 1.6.
- StavrosK 16y agoAh, I see, fantastic. I thought it compiled the code into .dex. I imagine it might run Jython as well, then? EDIT: Apparently Jython uses on-the-fly bytecode generation on account of being dynamic, so it can't run.
- pufuwozu 16y agoThe Android Scripting project adds support for Python, Perl, JRuby, Lua, BeanShell, JavaScript and Tcl: http://code.google.com/p/android-scripting/ http://code.google.com/p/android-scripting/