Giter Site home page Giter Site logo

androlua's Introduction

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

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

androlua's People

Contributors

sunnybird avatar mkottman avatar stevedonovan avatar

Stargazers

shuowang avatar

Watchers

James Cloos avatar shuowang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.