Android NDK JNI error 'to_string' is not a member of 'std'

Solution:

Add C++11 support in Application.mk if building static libraries:
APP_STL := c++_static

or use c++_shared if building shared libraries:
APP_STL := c++_shared

Not use
APP_STL := gnustl_static

你可能感兴趣的:(Android NDK JNI error 'to_string' is not a member of 'std')