I used CCNotificationCenter Class , and i include CCNotificationCenter.h. but when i build it with ndk for android, it says “error: CCNotificationCenter.h: No such file or directory”. what should i do to include the head file? in Android.mk?
i find the solution: i find the “Android.mk” in “cocos2dx” folder, and then add “\$(LOCAL_PATH)/extensions/CCNotificationCenter to”LOCAL_EXPORT_C_INCLUDES". it is ok.