Android Add Native support - unresolved jni.h, android/log.h etc

后端 未结 4 1076
轮回少年
轮回少年 2020-12-29 12:29

Before today i use Eclipse 3.8 with Sequoyah plugin for Android NDK project. But today i decide to freshen Eclipse to Juno release with SDK and NDK.
I w

4条回答
  •  执念已碎
    2020-12-29 13:04

    If you are using Eclipse Kepler the path to add the NDK include

    Properties->C/C++ General->Paths and Symbols.

    on my version of NDK the include path needed was:

    C:\Program Files (x86)\Android\android-sdk\NDK\android-ndk-r10\platforms\android-L\arch-arm\usr\include.

    It will ask you if you want to rebuild. Afterwards the errors go away.

提交回复
热议问题