Create project for linux and android¶
You can use this command to create project.
Go to the root of cocos2dx, and run:
./create-linux-eclipse-project.shYou will be asked to input
- package path
The pachage path is used for android, such as org.cocos2dx.example. - target id
It is request by android. - project name
Then you will have a project, the structure is like HelloWorld.
You can refer How to run HelloWorld and tests on linux to run it.
Good luck.