Error on cocos2d-x 3.0 compilng to android

jni/…/…/Classes/AppDelegate.cpp:2:30: fatal error: LevelSelectScene.h: No such file or directory
#include “LevelSelectScene.h”

It seems that the LevelSelectScene is a class created by myself, i googled about this issue, an article :


Tells us to add something to the Android.mk file, but it failed to me.
Thanks everyone!
By the way: my code runs perfectly on iOS version.

Anybody here?:slight_smile:

Somebody here? Pls help me:)

The forum is so cold?

Hi,

Maybe your cpp order files in Android.mk make the diference, try one new order, or check the folders that you inform in the cpp files paths, and note that important use ‘/’ to indicate the path, this is i remember that make diference.

Regards