Cocos2d-x 3.4 Compiling the configuration on Androidstudio

Source: Internet
Author: User

1. Prepare the following documents

1) Androidstudio:https://dl.google.com/dl/android/studio/install/1.1.0/android-studio-bundle-135.1740770-windows.exe

2) Ndk:https://dl.google.com/android/ndk/android-ndk-r10d-windows-x86_64.exe

3) Ant:http://apache.fayea.com//ant/binaries/apache-ant-1.9.4-bin.zip

4) Python (2.7.9): Https://www.python.org/ftp/python/2.7.9/python-2.7.9.amd64.msi

2. Configuring the Environment

I put all the files in the D:\Android directory for good management.
1) Java Environment configuration we own Baidu

2) NDK Configuration

After installing the system variables in the system variables:
   

3) Ant Configuration

After installing the system variables in the system variables:

   

4) SDK Configuration

When installing Androidstudio will ask you to select the SDK installation directory, which is the directory in.
   

5) Python Installation

Python is added to the environment variable during installation:

   

3. After configuring the environment, we begin to test the environment

1) Create a new project for Cocos2d-x 3.4.

2) Open Androidstudio
   

Select only the options shown below

Cocos2d-x 3.4 Compiling the configuration on Androidstudio

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.