Please answer these questions to help fix this issue:
What’s the issue?
I have imported a clean new android project into eclipse and have imported the libcocos2dx. After doing all that I still get inclusion errors at the top of main.cpp with the following lines:
#include "AppDelegate.h" #include "cocos2d.h" #include "CCEventType.h" #include "platform/android/jni/JniHelper.h" #include jni.h #include android/log.h
everything else seems fine. Does anyone know how to fix this problem? Thanks!
UPDATE: I have resolved the issues with #include jni.h and android/log.h by adding the include files from the ndk folder but I cannot find the include folder for cocos2dx…Does cocos2d-x 3.0 not have an include folder with it? Am I missing this include folder?