I strongly think this is a bug on Eclipse.
The problem I have is explained in the image I attached so please take a look.

I think I did the all settings correctly.
${NDKROOT}/platforms/android-9/arch-arm/usr/include in Paths and Symbols GNU C/C++

But I keep having "No such file" error when I try to include <android/asset_manager_jni.h>.
The funny thing is #include <android/log.h> doesn't give me any error msg even though both files are in the same folder.

The weird thing is that AAssetManager class becomes available even though it gives me "No such file" error.

Can someone please tell me what is going on??

a576f50c535db271eadd979c7dd3eb5a

Recommended Answers

All 2 Replies

Did you notice that this is the Java forum? Do you know that your program is not a Java program?

Moving C++ for Android

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.