Following 4 steps should resolve the eclipse error on “can not find xxxx files” when develop NDK code.
1, C/C++ Build –> Tool Chain Editor –> Change Current tool chian to Linux GCC, keep Current builder to be Andriod Builder
2. C/C++ General: Language Mapping , set C header File to be GNU C and C++ header File to be GNU C++
3. Manually add include path under C/C++ General —> Path and Symbols
4. Clean –> rebuilt project, or remove project, and re-import from existing code.