Reading notes Chapter II

Source: Internet
Author: User


This chapter focuses on how to build an Android environment in five steps to complete the deployment of the Android development environment.

First step: Install the JDK;

Step Two: Configure the variable environment of the JDK on Windows;

Step three: Download and install eclipse;
Fourth step: Download and install the Android SDK;
Fifth step: Install the ADT plugin for Eclipse.
As for the JDK, the basic tools he contains are: Javac:java compiler, convert source code into bytecode, jar: Package tool, package related class file into a file, Javadoc: Document generator, extract document from source comment; Jdb:debugger, Debug Debugging tool; Java: Run the compiled Java program. With some examples, we know that when a system is required to start an application, the system will look in the current directory first, if not the path specified in the system variable path. We said earlier that the JDK contains a bunch of development tools that are located in the JDK's installation directory, and in order to facilitate the use of these development tools, it is necessary to set the installation directory of the JDK to the system variables. This is why you need to set the bin directory of the JDK as a system environment variable after installing the JDK in Windows. In order to configure the system variable environment of the JDK, we need to set up three system variables, namely Java_home,path and classpath. The Java development environment has been configured, the IDE for Android has been installed, the Android SDK has been downloaded, but Eclipse has not been associated with the Android SDK, which is now independent of each other. To make Android apps easier to create, run, and debug, Android's development team has specifically customized a plugin ADT for the Eclipse IDE. Once configured, you can use it normally.

Reading notes Chapter II

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.