Eclipse:
1. Right-click in Eclipse, select Import
2. Select the directory under the Android folder
3. Select the file and click Browse
4. Select File Import
5. Check LIBCOCOS2DX, note that COCOS2DX 3.x needs to change the libcocos2dx of the new Project Name column to LIBCOCOS2DX3 (because I have already imported so I am the '-');
6. Next import Project file execute above 1, 2 steps, import file path Select the Proj.android file under Project
Select File Import Project When selected
Note: You will need to include the CPP that is written in the class in the android.mk in the JNI directory, otherwise it cannot be packaged
Project import in Android Studio:
1. Open the option to select red in Android Studio
2. Select Android Studio file under Project Click OK to start importing
3. If it is the initial import may pop-up prompts need to install or upgrade the write plug-in interface, direct installation prompt installation is good, because I have been installed there is no way. Display after successful import:
COCOS2DX project into eclipse or Android Studio