In 3.3, the player has more than one compile button, and we use the buildapk inside to quickly pack
In general, we just need to fill in the Androidapi and signature files to compile
Of course, the environment variables must be filled out first, so as to compile successfully.
First add the Java_home variable value to fill your own JDK path, mine is: C:\Program files\java\jdk1.6.0_43
Then append a variable value to the path;%java_home%\bin;%java_home%\jre\bin (note; separate the preceding variable)
Then the new Classpath variable value is:.; %java_home%\lib (Note the preceding.; Symbols, don't forget to copy them)
These environment variables are added to prevent compilation from appearing javac not internal or external command errors
Let's go to G:\Android\adk\sdk\platforms's own SDK's Paltforms folder and see what we have to download the API serial number
OK, let's start compiling.
Here, I did not add a signature file to the APK, so the packaged apk is not installed
Compiled successfully, we go to the \frameworks\runtime-src\proj.android folder to see if there is an apk
This unsigned apk comes out, below we download an APK front tool on the internet, give this apk signature
Choose the apk you just packed and pack it up
Quick Cocos2dx-lua (V3.3R1) study notes (11)-----build apk with your own build_apk