Android ndk 关于android NDK中iostream的问题

Android ndk 关于android NDK中iostream的问题,android-ndk,iostream,Android Ndk,Iostream,我已经搜索过了,但是仍然没有找到如何在这个android.mk中指定头文件的命令! 提前感谢。APP\u STL指令需要进入Application.mk文件 请更仔细地阅读文档(在docs/CPLUSPLUS-SUPPORT.html文件中): 但是,您可以通过将变量APP_STL设置为Application.mk中的其他变量来选择不同的实现,例如: 应用程序\u STL:=stlport\u静态 While trying to execute a program based on C++ in

我已经搜索过了,但是仍然没有找到如何在这个android.mk中指定头文件的命令!
提前感谢。

APP\u STL
指令需要进入
Application.mk
文件

请更仔细地阅读文档(在docs/CPLUSPLUS-SUPPORT.html文件中):

但是,您可以通过将变量APP_STL设置为Application.mk中的其他变量来选择不同的实现,例如:

应用程序\u STL:=stlport\u静态

While trying to execute a program based on C++ in android via NDK platform, the compilation is giving error that 'iostream' and 'vector' header files are not found, as I have included both of them in my C++ code.
M using android-ndk-r5b and compiling it with Cygwin.
I have seen most of the header files (even iostream & vector) in the folder **root\android-ndk-r5b\sources\cxx-stl\gnu-libstdc++\include\** but dont know why its still showing the error.
I have to fetch some header files(*.h) and some cpp files also for my program, also guide me where to place the header files & how to mention them in make file.
My android make file is:

**ANDROID.MK**

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE    := NDK1
FILE_LIST := $(wildcard $(LOCAL_PATH)/*.cpp) 
LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%) 
APP_STL := gnustl_static
APP_STL := stlport_static

include $(BUILD_SHARED_LIBRARY)