Aung Pyae
Aung Pyae

Reputation: 1610

Cocos2dX specific Libraries cannot be resolved after creating Android Project from existing cocos2dx project file

I have configured the setup for cocos2dx by using Eclipse, android and windows. The following link is the resource I follow to configure.

But, after I have done everything that tutorial and creating the Android Project from existing Cocos2dx codes (HelloCpp, HelloLua and HelloJavaScript), I have got the error that Eclipse can not resolve the Cocos2dx specific classes such as Cocos2dxActivity.

My Question is do I have to import Cocos2dx Libraries (Jar) files into the Eclipse ? or Did I do something wrong in the set up process ?

Upvotes: 0

Views: 1698

Answers (1)

moadib
moadib

Reputation: 11

You use 2.0.* version of cocos2d-x? Something has changed in that release.

Make sure that you have linked source which point to cocos2dx/platform/android/java/src_common

Check Project Properties->Java Build Path->Source dialog

Upvotes: 1

Related Questions