lua command line interpreter for Android.
To build the lua interpreter run the Android NDK build script inside this directory. this will create the folders libs, and obj.
the striped execuable will be in libs/armeabi/lua
the non striped executable will be in obj/local/armeabi/lua
To install and run the lua interpreter on an Android device a Terminal emulator must be used, Such as Terminal IDE.
The command line tool can be run without root permissions by executing the binary in the app's private memory.
- Tranfer the lua binary to your Android device.
- copy lua to the Terminal's
bin
directory, for Terminal IDE it is~/local/bin/
, the apps home folder is located in /data/data/ + PACKAGE_NAME. The apps private memory can only be accessed by the app itself, copy lua using the commandcp /sdcard/lua ~/local/bin/
. - give lua binary executable permission using
chmod +x ~/local/bin/lua
. - restart the Terminal emulator app.
Lua is now installed on your android device, lua scripts can be run using lua FileName.lua
.