unity3d-Configuring Android Environment, packaging release APK process

Source: Internet
Author: User

31:unity3d-Configuring Android Environment, packaging release APK processauthor Asinani concern 2016.08.28 22:52 words 498 Read 1806 Comments 0 likes 5

Unity to configure Android environment, package release Android process

One: SDK and Jdk:http://pan.baidu.com/s/1mhvaxhe
When the download is complete, unzip the file


SDK files

Ii. installation of JDK
Run the Setup program jdk-7u67-windows-x64


Java-jdk

Click Next to install separately.


In the installation

In the installation process will appear two times to select the installation directory interface, all changed to the following path:
JDK installation directory: C:\Java\jdk1.6.0_22
JRE installation directory: C:\Java\jre6\
After installation, configure the environment variables

Third, open the environment variable window method
Right-click My Computer-clicking Properties-click Advanced-click Environment Variables.


Property
Advanced system settings
Environment variables
Add variable

Create the following variable in the user variable above and fill in the following path, respectively:

Create a total of 3 new environment variables, as follows
First Group
Variable name: java_home
Variable Value: C:\Java\jdk1.6.0_22
Second group
Variable name: PATH
Variable Value:%java_home%/bin
Third group
Variable name: CLASSPATH
Variable value:.; %java_home%/lib/tools.jar;%java_home%/lib/dt.jar

Click OK to complete the configuration of the environment variables.


Application-Determine

Four: Copy android-sdk-windows folder to C drive or D packing directory


SDK files

After the copy is complete, open unity, create a new project, open the Edit-preferences option


Edit-preferences

SDK Address: Click Browse to find the path to the Android-sdk-windows folder you just copied


Click Browse
Select Path Folder

JDK Address: C:\Program files\java\jdk1.7.0_67


JDK Address
JDK Path

When you are done, create a new scene, save the scene, and add it to the build to switch platforms for Android platforms


Switch

Click Player Settings to modify other Settings BundleIdentifiercom.Company.ProductName for your own customizations, for example: com.Test.test01, after the modification is complete, click Build


Player settings

When the modification is complete, click Build


Build

Add file name, save path, save


Save

Packing ...


Packaged in

Package complete


Package complete

unity3d-Configuring Android Environment, packaging release APK process

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.