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
However, this is apparently not supported on Android
Correct.
something to do with android not having a full blown JVM, I read somewhere
Correct. If you look at the JavaDocs, you will see that javax.script
does not exist in the Android SDK.
Maybe I'll give this a try: https://github.com/damonkohler/sl4a
That is one option. Another is to embed the Lua interpreter in your app via the NDK, as in this sample application.