I found solution by reading on release note here for NDK revision 16.
-
If you config your project with
Application.mk
just add the following to yourApplication.mk
file:APP_STL := c++_shared
-
If you’re using
CMake
via Gradle, add the following to your build.gradle:externalNativeBuild { cmake { cppFlags "" arguments "-DANDROID_STL=c++_shared" } }
To keep up to date with new release and note, please follow this NDK Revision History to apply with new changed.
I hope it can fix your issue.