After that, I thought it was simple, but at the beginning, I had to prepare many things. It was not easy to do that.
It took a day to complete a simple game, package it on the android mobile phone, and run it... it's a headache. Record it now, so as not to forget it later.
The first object to be downloaded:
There is an android simulator in the picture. It is good to simulate it on windows. You can also use the sdk manager.exe to install it. However, this is too slow to handle, so you can still download a bluestacks
Simulator, I feel pretty good. The rest should be necessary.
After the installation is complete, do not use Chinese characters in the path. Configure the environment variables:
Download cocos2d-x3.0:
Decompress the package to a drive and do not use Chinese characters for the path.
1. Click setup. py for configuration.
2. Under the build directory, click the cocos2d-win32.vc2012.sln to compile.
After that, you can create your own project:
You must use the command to create a bat file.
Compile the project:
After compilation, you can install it on your android phone.
Finally, lua was written and debugged. It was developed directly in vs2012. I think it is quite good. How good is a development tool.