love2d / love-android

Android build setup for LÖVE.
https://love2d.org
Other
201 stars 70 forks source link

At app start: "could not find 'libc++_shared.so" #185

Closed slime73 closed 4 years ago

slime73 commented 5 years ago

Original report by Egor Abramov (Bitbucket: [Egor Abramov](https://bitbucket.org/Egor Abramov), ).


After building the app in Android studio, getting the following message. I’ll provide a logcat, but maybe someone knows the most likely suspect for the source of the issue right away.

slime73 commented 4 years ago

Original comment by Derek Lackaff (Bitbucket: lackaff, GitHub: lackaff).


Were you able to resolve this? I am getting the same error.

MikuAuahDark commented 4 years ago

Looks like the APK are packaged incorrectly. Double check if libs/arm64-v8a and libs/armeabi-v7a contains libc++_shared.so.

farism commented 4 years ago

fwiw I was having this issue yesterday and assumed it was an environment problem, so I nuked ADT/android sdks from my system and did a fresh install, and now things are building again.

MikuAuahDark commented 4 years ago

Since I can't reproduce this both with NDK r16b and NDK r19c, and furthermore the Actions also produces correct APK with libc++_shared.so in it, this could be a improper installation of NDK caused by user.

Closed.