false error from Eclipse: Function '__android_log_print' could not be resolved (Android, CDT)

后端 未结 4 695
灰色年华
灰色年华 2021-02-06 04:16

I have an Android NDK project whose NDK part compiles ok from command line; I used to have no problems with running the compiled stuff from under Eclipse as a pure Java project.

4条回答
  •  爱一瞬间的悲伤
    2021-02-06 04:53

    The configuration of CDT indexer needs to enable "Index unused headers ..."

    How to get there: Project->Properties->C/C++ General->Indexer.

    Gets rid of the error for me.

提交回复
热议问题