google / liquidfun

2D physics engine for games
http://google.github.io/liquidfun
4.71k stars 643 forks source link

APP_STL gnustl_static is no longer supported. #95

Closed jlwillo closed 5 years ago

jlwillo commented 5 years ago

Hi

This is my first time using the LiquidFun Project (looks great!).

I'm trying to follow the example here (I'm using Android Studio) https://google.github.io/liquidfun/Building/html/md__building_android.html

When I try to run ndk-build I get the following error:

$ ndk-build Android NDK: android-10 is unsupported. Using minimum supported version android-16.
Android NDK: WARNING: APP_PLATFORM android-16 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will not be compatible with devices older than android-16. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
/Users/*/Library/Android/sdk/ndk-bundle/build/core/add-application.mk:178: Android NDK: APP_STL gnustl_static is no longer supported. Please switch to either c++_static or c++_shared. See https://developer.android.com/ndk/guides/cpp-support.html for more information. . Stop.

I've tried to add APP_STL := c++_shared to the .mk file but nothing changed.

Would anyone know how to resolve this?

Thank you.