Quick Cocos2dx-lua (V3.3R1) study notes (11)-----build apk with your own build_apk

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.