SDL Error when launching a game on android

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Posts: 22
Joined: Mon Apr 22, 2019 1:13 am

SDL Error when launching a game on android

Post by tahoma » Tue Jul 02, 2019 1:33 am

I built an apk for my game using RichLove (although, I doubt it maters how i did that - it was built on the sdl2). I installed the game and get the following error message when launching it:
dlopen failed: library "/system/lib64/" needed or dlopened by "/system/lib64/" is not accessible for the namespace "classloader-namespace"
I found this explanation of what might be going on, which makes sense, but I don't really know how to implement the suggested fix in general and without screwing up the distribution package in particular.

Any advice is highly appreciated. Thanks!

User avatar
Posts: 46
Joined: Mon Oct 23, 2017 2:34 pm
Location: Indonesia

Re: SDL Error when launching a game on android

Post by AuahDark » Thu Jul 04, 2019 6:18 am

It seems that fork of LOVE for Android is using GNUSTL for the C++ runtime library. It's worth noting that GNUSTL C++ runtime is no longer supported in recent NDK.

The best way to fix this is to use atleast NDK r16 and using the original repository as it has been updated to use libc++ runtime instead of GNUSTL (assume you're targetting 11.0).
Profile. I don't always online in forum, so Discord is preferred. Am I LÖVE for Android dev or not? Only you can tell.

Post Reply

Who is online

Users browsing this forum: pgimeno and 28 guests