Android SDK and JDK Baidu network download link: https://pan.baidu.com/s/1dFbEmdz Password: pt7b
Unity20172.0 Android Platform Package
Introduction Description:
The first step: Android SDK and JDK environment acquisition
1. Download the Android SDK and JDK at the beginning or end of the article in the Baidu Web drive download link
2. Download completed Android SDK needs to extract to the current directory, and specify the Android SDK and JDK under the convenient directory path (where the path must not be in the Chinese directory)
3. For example, the Android SDK is placed in D:/INSTALLPATH/SDKPATH/ANDROID-SDK; Double-click the JDK to run Setup and place the JDK in the C:/Program Files (x86)/java/jdk1.8.0_151 Path (where the path must not be in the Chinese directory)
4. Complete Environmental acquisition
Step Two: Unity configuration Android SDK and JDK
1. Open unity and find edit-preferences-external tools-android
2. Left mouse button stand-alone SDK input box to the right browse browse path, specify the path for the Android SDK decompression storage path (where the path must not be in the Chinese directory)
3. left mouse button stand-alone JDK input box right Browse browse path, specify that path is the JDK installation storage path (where the path must not be in the Chinese directory)
4. Complete Unity configuration Android SDK and JDK
Step three: Computer Configuration JDK Environment
1. Right mouse button stand-alone desktop computer icon-left mouse button, single machine properties-Advanced system settings-environment variables, find the system variables
2. Left mouse button stand-alone new buttons new three system variables, set variable name and variable value
3. The above variable name and variable value according to the following three settings, the left side of the colon is the variable name, the right side of the colon is the variable value, if the following variables are not new in the list, if there is no need to create a new direct modification to the same
(1) JAVA_HOME:JDK storage path
(2) PATH: Add the following sentence on the original basis
;%android_sdk_home%\platform-tools;%android_sdk_home%\tools;%java_home%\bin;%java_home%\jre\bin;
(3) CLASSPATH: The variable value is the following sentence
.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar;%java_home%\bin;
4. Complete the JDK environment configuration
Fourth step: Unity Android Packager get
1. Left mouse button followed by single File-build setting-android
2. Left mouse button stand-alone open Download page download Android Packager, if you have downloaded the packager click on the lower left corner of this dialog box switch Platform
3. Left mouse button in turn stand-alone player Setting-other Settings-identification-package Name
4. Set the previous word of the Package name input box (the first three small letters "com"), change the word to another letter, and the following will not change. Company.productname
5. Left mouse button stand-alone build run the packager, and specify the storage path, waiting for a certain time after you can see a. apk suffix in the storage path program
6. Complete Unity Android Packaging
Fifth Step: Complete packing
Android SDK and JDK Baidu network download link: https://pan.baidu.com/s/1dFbEmdz Password: pt7b
Unity20172.0 Android Platform Package