Org.cocos2dx.lib Cannot be resolved in Eclipse

Hi,

I am new to cocos2d , I download the cocos2d-x-3.11.1 from website and install it and i create a project using below command

cocos new MyGame -p com.your_company.mygame -l cpp -d NEW_PROJECTS_DIR
And i create JS project also using below command

cocos new -l js WebGame

Now i import the Android project in Eclipse Luna , i cant able to get org.cocos2dx.lib
it doesn’t have in cocos2d-x-3.11.1 installation folder too, Where will i get the library for Android ?

Hi @sankarganesh86

i think your not importing cocos2d library to your workspace , check this link :

Hi Michio,

Thanks for the replay…my problem is solved and i got error in Cocos2d package also

com.loopj
org.apache.http

Then i download the external jar from

http://loopj.com/android-async-http/
http://www.java2s.com/Code/Jar/h/Downloadhttpcore41jar.htm

And i import in project now it is cleared