Skip to content

Lua 5.3.3 and LuaJava ported to Android

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.txt
MIT
luajava-license.txt
Notifications You must be signed in to change notification settings

Summer-Day/AndroLua

 
 

Repository files navigation

Android 平台执行 Lua 脚本实践

本文是基于https://github.com/lendylongli/AndroLua 进行进一步封装和探索

解决的问题


  1. Android 应用程序可以执行 Lua 脚本
  2. Lua 脚本中可以调用 Java 方法

使用介绍


编译 Lua 使用的 so 库文件

git clone https://github.com/sunnybird/AndroLua.git
cd AndroLua/LibAndroLua/src/main/
ndk-build

编译完成之后, 会在 libs 目录生成 so 文件

LibAndroLua 可以自行编译成 aar 文件, 供其他项目使用

Demo 应用提供了简单的使用实例

END

欢迎有类似探索的同学一起交流分享

About

Lua 5.3.3 and LuaJava ported to Android

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.txt
MIT
luajava-license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 87.8%
  • Java 9.1%
  • C++ 1.6%
  • Other 1.5%