Closed leasses closed 2 years ago
Thank you for reporting! This should have been fixed by https://github.com/gudzpoz/luajava/commit/d3aef0405fb4c85ec164c5218a3698089a6ecc0d. Could you please try again with the latest release?
I assume you use Gradle in your Android Studio projects, and in this case, pasting the following into the dependencies
section in your build.gradle
should add LuaJIT to the dependencies.
implementation 'party.iroiro.luajava:luajava:3.0.2'
implementation 'party.iroiro.luajava:luajit:3.0.2'
implementation 'party.iroiro.luajava:luajit-platform:3.0.2:natives-armeabi-v7a'
implementation 'party.iroiro.luajava:luajit-platform:3.0.2:natives-arm64-v8a'
implementation 'party.iroiro.luajava:luajit-platform:3.0.2:natives-x86'
implementation 'party.iroiro.luajava:luajit-platform:3.0.2:natives-x86_64'
You may want to check out the initializer and the Hello World example.
Well, the example was fixed. But there are still some problems to support Android Studio, so I want to new an issue and close this one.
Could you please make a LuaJIT example with Android Studio?
And when I ran the examples, I got an expection:
But if I try the other lua versions, it works.