Android Studio Usage and JDK environment configuration (WINDOW10 64-bit)

Source: Internet
Author: User

To play Android Studio, you first need to solve the environmental problem, this way first of all say that the JDK environment configuration, for the new environment.

One:

1. First by right-clicking on the computer's properties to see your computer system type, my is Win10 64-bit environment, has been downloaded such as JDK installation package,

2.JDK installation, double-click installation, Basic is the next step, the period to note is the location of the installation (after the environment configuration to use), I used a notepad to record the JDK installation path, as shown in:

3.JDK installation Successful test, win+r input cmd Enter, then enter Java-version, as shown in follow JDK success.

Configuration of 4.JDK environment variables (right-click PC properties):

A. Add the Java_home system environment variable as shown (the variable value is the path to the JDK installation above to let the record):


B. Classpath path configuration as shown in:

Notice the point where the two arrows show a "." Dot ha.


C. Change the system face path variable, as shown in modify:

4.JDK environment variable is configured successfully, next will be high to look at the line, as shown in:

1: The environment variable is already configured.

2:high look under the line, I have a Java file on the desktop, the Javac file name represents the compilation through

3: Execute code, output results, prove the JDK environment configuration OK!

Java File contents:


Two:

Use of Android Studio:

Recently changed a new job, and then just have time, think of playing hot update instant Run, probably is to modify the button action to achieve the effect and modify the layout, immediately will take effect, do not need to recompile, to developers save a lot of time, according to the following settings, Run under the app, Then modify the XML or click on the inside of the effect, and then point Run,run next to a lightning sign, click on the phone in 3-5 seconds the app is up to date, as shown in:

1. Set the diagram in the tool:


2. Code modifications such as (XML code modification and click-to-Listen code modification):



3. Last click as shown, see Effect high (you can see the effect change):


Android Studio Usage and JDK environment configuration (WINDOW10 64-bit)

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.