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