Anyone successfully using Android Studio on MacOS? - "libc++_shared.so" error

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
hackranch
Prole
Posts: 3
Joined: Fri Oct 18, 2019 12:43 pm

Anyone successfully using Android Studio on MacOS? - "libc++_shared.so" error

Post by hackranch »

I'm trying to use https://bitbucket.org/MartinFelis/love-android-sdl2 to make an .apk for the Play Store. After loading the project and setting the NDK for Gradle, I can build it successfully. But when I run it on the emulator or a real device, I get an error similar to this:

Image

An issue has been open for awhile here: https://bitbucket.org/MartinFelis/love- ... -_sharedso

I'm on Mojave with the latest Android Studio (3.5.1) and latest versions of all tools. I tried using the 19.2 ndk instead of 20.1, to no effect, and using the default older versions of Gradle and the Android Gradle plugin. I'd appreciate any tips for how to debug.

Alternately, what's the recommended process for building and signing an .apk for the Play Store? It's hopefully obvious, but I'm not an Android expert. Thanks in advance.
hackranch
Prole
Posts: 3
Joined: Fri Oct 18, 2019 12:43 pm

Re: Anyone successfully using Android Studio on MacOS? - "libc++_shared.so" error

Post by hackranch »

I've now tried the APKTool method, since that seems to be what folks are generally doing?

Those instructions work fine and I can rebuild the apk with no errors, but the new apk fails to install with "App not installed."

I suspect this is mostly related to my OS. Would it be more expedient to track down a Win or Linux box to get this done with?

My project is here, not that it should matter for Android packaging.

Thanks!
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 2 guests