It is due to the wrong Project type and toolchain selected while creating / importing the project. I don't know how to get the 'Other toolchain' option in Tool Chain Editor.
However you can delete the current C/C++ project settings and re-import the project and apply the C/C++ nature correctly.
Please follow the following steps:
- From your project root directory, delete
.cproject
file. - Remove the project from eclipse. Ensure 'Delete project contents on Disks' is not selected.
- Again import the project using
Import -> Android Project -> Exisiting Android Code Into Workspace
. - Right click your project then select
New -> Other -> C/C++ -> Convert to a C/C++ Project -> Specify “Project type” = Makefile project, “Toolchains” = Other Toolchain.
Then verify whether GNU C, GNU C++ options are listed in Paths and Symbols.