Android with Eclipse Installation and Setup
Deprecated Document. Cocos2d-x V3.15 or less is the last supported version.
Completed the Android Command-Line Instructions
Eclipse ADT Bundle http://www.eclipse.org/downloads/
Open the proj.android project with Eclipse.
Right click your mouse at the empty area of the Package Explorer and choose Import.
Choose Existing Android Code Into Workspace from the pop up dialog and Click Next.
Click the Browse button to choose the directory of CPP-Tests
proj.androidand Click Ok.
Import Libcocos2dx Project
Same steps as above only using the path of the libcocos2dx project is [your own game project folder]/cocos/2d/platform/android/java.
Build and Run the Android Project
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.