Developers Manual > Cocos2d-x > Deprecated Docs for Cocos2d-x > Setting up Development Environments > Linux Environment Setup > Android for Linux > Create project for linux and android

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.sh

You 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.

Copyright © 2010 - 2014 Cocos2d-x.org Support Email: support@cocos.org