Closed
Description
Apple M3, Android Studio2024.2
axmol 2.3.1
after setup env, my steps:
-
modify axmol/3rdparty/CMakeList.txt, open luajit by add this line:
option(AX_USE_LUAJIT "Use luajit instead plainlua option" ON)
-
create a project, run:
axmol new -p dev.axmol.hellolua -d /Users/xxx/xxx -l lua HelloLua -
build for android:
axmol build -p android -a 'arm64' -
open the project using Android Studio2024.2, wait gradle sync ok and run 'HelloLua' with device "Xiaomi MI 8"(android 10, arm64):
it crashes at LuaStack::init() -> inner luaL_openlibs(_state);
It will be ok when switch luajit to plainlua.