The full version of the Unity Android release process (including the project that the SDK has native system dependencies)

Source: Internet
Author: User

I want 3 things! NDS,SDK,JDK,

NDK official website Download: https://developer.android.google.cn/ndk/downloads/index.html (note system is not 64-bit)

JDK Download: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html (Note that the system is not 64-bit)

Download the SDK website: https://android-sdk.en.softonic.com/

SDK words do not recommend the official website download method, suggest there are 2: first, download a skd_manager, in the VPN Fq download, the method does not explain.

The second better way is to go to the non-official website to download, here is a good site: http://www.androiddevtools.cn/

Get ready for the job. The next step is to configure the environment:

NDS double-click Direct decompression will generate root directory in the current directory

SDK decompression, put it right!

JDK installation Choose your own directory is good, the following demo is the default 64-bit system directory

Test if the JDK is installed, open the win key +r, enter cmd, and then enter Java-version to see your current JDK version,

After installing the JDK, open unity, point edit->preferences->external Tools

It'll be a lot more than before. SDK,JDK,NDK three options, then choose a directory based on your own JDK,SDK,NDK. This can be done for general project releases, including dependencies on native projects

Here is the NDK role: Some projects need to work on the original ecological things, note that the third-party plug-in or SDK some of the company's products will be dependent, so that the NDK needs, of course, is not dependent on the NDK can not affect the package.

JDK role: The JDK is the Java language SDK for Java applications on mobile devices and embedded devices. The JDK is the core of the entire Java development, which contains the Java Runtime Environment (Jvm+java System class Library) and Java tools. (Baidu said--!) )

SDK role: The program to connect the hardware bridge files, mainly to see what kind of hardware you pick up, Android Phone SDK is goolgle, there are many Android version, for different system version of the phone, such as Storm Magic mirror to use their own SDK, can not use Google, or will not use its equipment.

Some projects will use Andriodstudio or eclipse to have the Java language Environment support, need to configure the Java development environment, the method is as follows:

Right-click My Computer point properties and tap advanced system settings:

Click to go to the point environment variable

You will see 2 environment variable settings, we only need to set the user's environment variables, remember not to mistake!

Point New

Create a new 3 value, respectively,

The first variable name classpath, the value of the variable is:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar (note the semicolon in front of a point, also want I input)

The second variable name path, the variable value is:%java_home%\bin;%java_home%\jre\bin; (Note the back semicolon)

The third variable name java_home, the variable value is: C:\Program files\java\jdk1.8.0_144

Then make sure to make sure (important things say three times, this exception)

and then test

Win+r input cmd, input javac, enter, success

And then there's no ...

The full version of the Unity Android release process (including the project that the SDK has native system dependencies)

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.