Adding .so files for Android

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
Gunroar:Cannon()
Party member
Posts: 1141
Joined: Thu Dec 10, 2020 1:57 am

Adding .so files for Android

Post by Gunroar:Cannon() »

slime wrote: Thu Dec 07, 2023 1:57 pm You can also download the standalone version of the lua-https library from https://github.com/love2d/lua-https/actions , if you're logged into github.
it seems so files can't be just copied into the game path for android (for Lua https, which is kinda strange, because in the error message it says it even checks for https.so).

How then do I put it in the love2D/love-android project. Where does it go?
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Adding .so files for Android

Post by slime »

If you have lots of questions about Android usage you might be better off joining the Discord server, the primary Android maintainer doesn't visit the forums super frequently.
9912
Prole
Posts: 11
Joined: Sun Aug 23, 2020 7:12 am

Re: Adding .so files for Android

Post by 9912 »

Hi, you would find interesting this: https://github.com/9912/moonvox/blob/master/moonvox.lua
you can check how to load an .so library onto android using ffi, however, make sure this .so comes from an android version of the program you want to run
User avatar
Gunroar:Cannon()
Party member
Posts: 1141
Joined: Thu Dec 10, 2020 1:57 am

Re: Adding .so files for Android

Post by Gunroar:Cannon() »

slime wrote: Mon Sep 30, 2024 7:47 pm If you have lots of questions about Android usage you might be better off joining the Discord server, the primary Android maintainer doesn't visit the forums super frequently.
Discord isn't supported well in my country. (It's hard to get a connection to it).

I made a new topic that's pretty straight forward. I found all the instructions I missed on making lua-https work but it still doesn't compile, like I didn't even change anything.
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests