Eclipse ADT “… could not be resolved” with Android NDK and C files

前端 未结 2 588
再見小時候
再見小時候 2021-01-28 16:59

I am having problems with the Eclipse indexer for my NDK project. There\'s a lot of similar threads out there but none that seem to touch on the same source of problems. I have

2条回答
  •  广开言路
    2021-01-28 17:50

    right click on the jni folder and got to property click on c/c++ general and in include folder include below files exists in your ndk please import and must click apply

    d:/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.6/include
    i,d:/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.6/include-fixed
    i,D:/Android/android-ndk-r9/platforms/android-14/arch-arm/usr/include
    

提交回复
热议问题