Strange issue in Android Studio

I am long time unity developer and I wanted to port my games to cocos2dx. I created a project and launched cocos2d-x in Android Studio v.3.5 and When ever I add new cpp class I am getting issue Can’t Resolve Container cocos2d. HelloWorldScene seems to load cocos class fine . Even if I duplicate and rename Class I am getting same issue.

Am I missing something like importing libraries or some declerations ? I am attaching screenshot of my problem.

Did you add it to CmakeLists? Also, it is worth checking out Android.mk and Application.mk.

1 Like

I am new regarding this , how am I supposed to do that ?

These files are part of the project you created when you ran cocos new ....

Did you review our Android Studio Installation doc?