- Complete steps in Appendix A
-
Launch Eclipse
-
Right click your mouse at the empty area of the
Package Explorer
and chooseImport...
. -
Choose
Existing Android Code Into Workspace
from the pop up dialog and ClickNext
. -
Click the
Browse...
button to choose the directory of Cpp-Tests'proj.android
. and Click Ok. -
Click Finish.
- Same steps as above only using the path of the libcocos2dx project is
[your own game project folder]/cocos/2d/platform/android/java
.
-
Connect your Android phone with
USB remote debugging
option enabled. -
Make sure your computer can recognize your phone (you might need to install drivers for your specific phone)
-
Right click on the project and choose
Run as...
->Android Application
.