compile c++ program which uses stl in ndk

create a Application.mk file  under the jni directory. (take heed, the Application.mk's  capital must be A)


fil below into the file.

APP_STL := stlport_static

APP_CPPFLAGS := -fexceptions

你可能感兴趣的:(compile c++ program which uses stl in ndk)