Closed amsitlab closed 2 years ago
It's because Lua(JIT) requires that the default package.cpath
determined at compile time, which is not possible in Android, thus you'll see that useless /usr/local
paths. Furthermore, you can't set the cpath to your save directory due to Android 10 restriction.
LOVE 11.4 (love2d/love@b79b99bbaa60fb283d160782e5b31f953b43760c) implements special case for Android that allows loading Lua C modules if you put them inside your APK libs
folder (within their respective ABI folder of course) that solves Android 10 issue. Unfortunately Play Store version is still 11.3.
Hy.. I hope somebody guide me about love
package.cpath
on android device.function love.draw() local package = package graphics.print(package.cpath, 200,200) end