Original reference: http://cn.cocos2d-x.org/tutorial/show? Id = 1278: Although it is clear on this website, it is not reliable because, many of the items are based on some previous ones. As a result, if you have no packaging experience before, packaging may cause some problems: 1. before using the command to compile, remember to put all the files in classse in... \ proj. android \ JNI \ hellocpp. when adding files to MK, do not simply add files using the cocos2dx 2.3 method. Maybe 3.2 also has a simple method of adding CPP, but it is not an old version. Otherwise, an error will occur during packaging; 2. you do not need to consider where the resource files are stored. After packaging, the files are automatically placed in the ASST file. 3. if the pulish file cannot be found after packaging, click the debug file in the binfile without panic. Then open the android file and you will see the debug APK. This is still usable.
Cocos2dx 3.x package APK