I am having problems with this, as well as for those who stumble upon this ...
I solved the JNI problem from eclipse - maybe you have already done step 1 or something similar
File β New β Other-> C ++> Convert to C ++ Project
RIght Click on the project head β Properties β C ++ General β Paths and Symbols
Add a path similar to this according to the GNU and GNUC ++ language entries
/ NDK / Platforms / Android 9 / Lever Arch / USR / Include
Your path will differ depending on how you configure, which platform number, etc.
After that rebuild the indices when it prompts you
Close the project, open it, then clean it (or it can happen immediately)
In my case, JNI.h was found, but JNIEnv, etc. still not recognized, even if they are in the JNI.h file.
Also note that for those who have this problem, it will not stop you from creating, you just need to close the violating files, and then open and close the project to get rid of errors (what a pain)
UPDATE: FIXED!
In the edition above in Indigo, follow these steps from the menu / dialog
Window-> Settings-> C / C ++ β Index checks the "Index of unused headers" reindex / build if necessary
You may also need to add "/NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/lib/gcc/arm-linux-androideabi/4.4.3/include" above included I mentioned above about language records.
All characters are now recognized. Hope this helps someone that drives me crazy.
Idistic
source share