Skip to content

Set up Luakit in android with jitpack

wenzhining edited this page Apr 10, 2019 · 8 revisions

Create a new project with Android Studio

If you have your own project , skip this step

Add dependency to your app build.gradle

repositories {

    maven { url "" }


dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.github.williamwen1986:LuakitJitpack:1.0.9'

Copy your lua source code to android assets/lua folder

Our demo lua source code is in the luaSrc folder, you need to copy the source code your need to assets/lua folder, you can also add your own lua file to assets/lua folder.

Initialization Luakit

Add below code to your entrance of your app

You can’t perform that action at this time.