#20517·cocos2d-x

luajit syntax error during pre-compilation.

Author: semgiloCreated May 14, 2020Updated Jun 8, 2026
  • cocos2d-x version:4.0
  • devices test on:三星Galaxy S9+
  • developing environments
    • NDK version:
    • Xcode version:
    • VS version:
    • browser type and version:

Steps to Reproduce:

  1. Create a new lua project
  2. Compile 64bit lua files on Android Studio
  3. Run [LUA ERROR] load "assets/src/64bit/main.luac", error: syntax error during pre-compilation.