For Android beginners, mastering the Android development environment can improve its understanding. It is divided into two parts: Download tool and Installation test.
The first part: Download tool.
Need to download, jdk,android sdk,ide.
1.JDK is a Java development tool. Go to the Oracle home page, find the Java se tag, go to the label with the download sub-tab, and provide the latest version of the JDK development tool under this tab to download the version for software developers.
The 2.Android SDK is an Android software development kit. Go to Android homepage, the homepage will update the latest version of Android, click "Get the SDK", the first appeared is Android official Android development tool Android Studio, first ignore, pull down will have "get command line tool only", Is that we need to download the SDK, select the corresponding system download.
3.IDE is an integrated development environment, such as Android Studio,eclipse,intellij idea and so on, these tools allow us not to edit the code in the DOS interface, access to the corresponding website download.
Part Two: Configuring the installation.
1. Install the configuration jdk.
Unzip the downloaded file to the C drive, which includes the JDK and JRE two sections. These two parts need to be accessed directly, so you need to configure the environment variables.
Open My Computer-Properties-Advanced system settings-environment variables-->① Create a system variable named "Java_home" with the variable value as the path to the JDK installation, such as "C:\Program files\java\jdk1.8.0_ 101 ";
② Find the variable name "path" in the system variable, click Edit, in the dialog box variable value appears column, has configured a lot of Path, at the end add ";%java_home%\bin;%java_home%\jre\bin";
③ creates a system variable named "CLASSPATH" and a variable named ".; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar ".
Test the configuration environment variable for success: Enter "CMD" in the "Windows" + "r" dialog box--Enter java-version or enter Java.
2. Install the Android SDK.
Unzip the downloaded file to any disk, open "Android SDK Manager.exe", update to the latest version will see the list of "Tools", "Extras" and various versions of Android API. What you need to download is an API that Tools,extras can use.
3.IDE Association SDK.
①eclipse.
Open ecipse--> under the "Help" tab, locate "Install new software" and click "Add ..." To add a new file association--"name" setting "ADT", "location" setting "http:// dl-ssl.google.com/android/eclipse/"-Tick" developers Tools ", install, reboot--Find" perferences "in the" Windows "tab and click" Android "Select the desired Android version and click" Apply "-" OK ".
②intellij idea.
Open idea--> Click "creat New Project"--the first "Gradle:android Module" under the "Android" tab, "next"--in the dialog box you can add the path to the Android SDK.
③android Studio
Android Studio is the official Android developer software that comes with the Android SDK installed.
4. After associating SDK, create a new Android project to test whether the installation is successful--build completed.
How to build an Android development environment for your computer (Win7)