Record the last step of the pit, are tears!!
Environment:windows10,Cocos2dx3.15+lua
Pack:android apk
First, configure the environment.
1. Reference article: https://yq.aliyun.com/articles/40543
or "cocos2dx 's LUA core Programming" (Touch Education), then package the configuration of the environment variables.
when the environment variable is configured, be sure to open the setup.py in the COCOS2DX directory , if it shows that the environment variable path that needs to be configured is already configured, close it, and you need to configure it according to the reference article.
2. Open the project directory,
your newly added or modified LUA files are copied to the src folder under that directory , and the corresponding location is placed. The rest of the resources, such as sounds, pictures, etc., are copied to the Res folder under this directory . Then ctrl+shift+ The right mouse button and click "Open Command Window (w) Here", enter the packaging command in the reference article.
The following flag appears, which is success.
Windows 10+cocos2dx+lua Pack Android Pack