I\'m developing an Android game in Java which uses Lua scripts. To execute these scripts, I\'m using LuaJ with Java\'s ScriptEngine class. For example...
ScriptE
To use Lua on Android, you can use JNLua + Lua 5.2 (implemented in C). The only Android port with JSR 223 (javax.script) support is here: https://github.com/danke-sra/jnlua-android
Using this port, you can do what you want:
ScriptEngine scriptEngine = new LuaScriptEngineFactory().getEngine();
scriptEngine.eval("lua statements");