Android leart_basic environment construction and android Construction
1. Java environment Configuration
The full name of JDK is Java SE Development Kit, which is the Java Development Toolkit. SE indicates the Standard Edition. JDK is the core of Java, including the Java Runtime Environment (Java Runtime Environment), a bunch of Java tools and Java class libraries called when developers develop applications. The runtime environment is short for JRE, which is similar to the. Net CLR runtime.
Environment configuration: to configure the JDK system variable environment, we need to set two system variables, JAVA_HOME and Path. The following are the settings of these two variables.
(1) JAVA_HOMEFirst, set the system variable name. The variable value is the JDK installation path on your computer: E: after \ Program Files \ Java \ jdk1.7.0 _ 75 is created, % JAVA_HOME % can be used as the unified reference path of the JDK installation directory.
(2) PathThe PATH attribute already exists and can be edited directly. It is appended to the original variable:; % JAVA_HOME % \ bin
2. Download and install Eclipse
Eclipse is an IDE developed for Java applications and Android (integrated development environment ). Eclipse itself does not need to be installed. It can be used directly after download. Here is the difference between Eclipse and myEclipse: Eclipse is NO1 in Java writing tools. Very professional. MyEclipse is a commercial plug-in that can be integrated with Eclipse. There are also many other tools (such as Tomcat, hibernate, UML tools) integrated into its IDE work, so it is very convenient to do a project. However, the cost is equivalent to memory consumption. Install Ecplise before installing MyEcplise. When installing MyEcplise, you must prompt you to select the installation directory of Ecplise.
3. Android SDK
The Android SDK provides the API library required for developing Android applications and the development tools required for building, testing, and debugging Android applications. Download the SDK package,
4. Download the ADT plug-in (Andriod Development Tools)
To facilitate the creation, running, and debugging of Android applications, the Android Development team has customized a plug-in specifically for Eclipse IDE: Android Development Tools (ADT)
The software to be installed is ready. However, some software cannot be downloaded. You need to use VPN to download the software. Otherwise, we may be stuck out of the learning door.