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