0 votes

When I try to export a project which uses gdnative and compiled libraries to android platform, using custom build option, the compiled libraries (.so files) are missing from the .apk package. If I don't use the custom build option the library files injected into package correctly. Is there a way to include shared libraries into custom built .apk packages?

Godot version 3.3.2
in Engine by (12 points)

When explorting the game, did you specify the exact library files in the export dialog (I think the place to specify then is under the "Resources" tab in the export dialog)?

I tried that but the files specified in the resources tab goes to "assets" folder. However app looks in "lib" folder for linking the shared libraries and thus cannot find and link the shared libraries.

1 Answer

0 votes

I ran into this problem as well and had to figure out the solution. I replied with an answer in this other thread.


by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.