Android Development Getting Started tutorial - 1. setup the development environment

First, the necessary development tools:

1, Java JDK Download  download Java SE 6 corresponding to JDK

2, Eclipse Download  Download Eclipse IDE for Java Developers

3、ADT

4、SDK Tools

Second, the environment structures:

1, install the Java JDK, Android development environment to build not need to set environment variables after the installation is complete, open the "Command Prompt" window, enter the JDK java -version to see the version information, if the following screen represents a successful installation:

2, installation of Eclipse, Eclipse unzip the downloaded to the need to preserve the directory, run directly after decompression "eclipse.exe" can interface as follows after opening:

3, install ADT, the Eclipse open interface after clicking "Help" -> "Install New Software ...", click on the pop-up "Install" form "Add" button:

In the pop-up "Add Repository" form: "Name" to take themselves lightly; "Location" input http://dl-ssl.google.com/android/eclipse , click "Ok" to return "Install" form "Work with:" When you select an address just added, the following will occur "Developer Tools" and "NDK Plugins" all the checkboxes, and then follow the prompts step by step "next" to complete the installation.

4, save path provided Android-SDK, Eclipse interface after opening the click "Window" -> "Preferences" -> "Android" click "Browse" click "Ok" Save select a route determination Android-SDK:

5, Download Android-SDK, open the Eclipse interface after clicking "Window" -> "Android SDK Manager", the pop-up "Android SDK Manager" window lists all SDK versions available for download, check needed and download the appropriate version of the SDK:

6. Create AVD, the Eclipse open interface after clicking "Window" -> "Android Virtual Device Manager", the pop-up "Android Virtual Device Manage" window, click "New" to create a new virtual Android device:

Click to enter the name and select the SDK version of the "Ok" to save the back "Android Virtual Device Manage" form interface, you can see a virtual Android device names just added, click to select the device and click on the "start" -> "Lunch "running the virtual appliance:

After the successful operation of the virtual device interface:

So far development environment set up is completed.

 

 

Reproduced in: https: //my.oschina.net/secyaher/blog/274472

Guess you like

Origin blog.csdn.net/weixin_34378922/article/details/91967083
Recommended