android是支持标准模板库的,库目录在system/lib/libstdc++.so
需要在Application.mk文件中添加
APP_STL := stlport_static
APP_STL还有别的取值:
system -> Use the default minimal C++ runtime library.
stlport_static -> Use STLport built as a static library.
stlport_shared -> Use STLport built as a shared library.
gnustl_static -> Use GNU libstdc++ as a static library.