Android Application Environment building1, the installation of the JDK environmentenvironment download for JDK øhttp://www.oracle.com/technetwork/java/javase/downloads/index.htmlabout the choice of JDK version:Need to consider: one is to learn the network needs to tomacat version of the match, the second is corresponding to the previous, our Android low-level development when using the version also try to matchenvironment configuration for JDKThen there are two types of Windows System environment configuration, the other is the Linux system environment configurationunder Windows:My Computer--right---high-level-- environment Variables-- system environment Variables 1/Create a new java_home variable.
Variable value fill in the JDK installation directory (I am E:\Java\jdk1.7.0)
2/
System variables → find Path variable → edit
Enter%java_home%\bin;%java_home%\jre\bin at the end of the variable value;
(Note that the original path of the variable value at the end of there is no; number, if not, first enter; number and then enter the above code)
3/
System variables → new CLASSPATH variable
Variable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point at the front)
4/
Detection java-version
Javac
Linux under:/etc/profile2. Installation of SDK Environmentexplain the SDK: Software Development Kit (Foreign language initials: SDK, Foreign language full name: Software Development Kit is typically a collection of development tools used by software engineers to build applications for specific software packages, software frameworks, hardware platforms, operating systems, and so on. Download:because the official website is closed to China, so if we want to visit the official website to download, then two ways, one is to open FQ software to download, but even FQ we will because of the speed, there are other reasons to download the failure, and even the busy site, another situation is to find the national website image, Use this website image we can go to visit the download, he this way is the official network download down, and then regularly to update the website content, this is the role of the official website image. But neither of us is used, because the download speed is too slow, so we use some developers to package these tools to download the website, speed and resources more, download fasterDeveloper's Tools website:http://www.androiddevtools.cn==========================================2/about the download of the Android SDK folder content explainedAdd-ones: An additional functional system developed by the three-party company in this directory for the Android platform. The directory is empty when it is just unzipped. Build-tools:android Build Project Tools Extras: This folder contains the USB driver provided by Google, and Intel provides hardware acceleration and other additional toolkit platforms: This directory contains different versions of the Android system PLATFO Rm-tools: This folder holds the Android platform related tool Source: This folder holds the image tools for our different versions of the Android Framework source System-images:android system: This directory contains a large number of Android Development, debugging Tools ==========================================3/SDK is to manage our SDK tools, used to download different Android version of the system, API and other tools, The corresponding corresponding to the above several folders. Because of the closure of the official website, our SDK Manager is not available, so we take the modified mapping address, let him point to the mirror in the country, so that we can be downloaded in this way. Configured as a domestic mirror. ======================================4/adt plug-in use, we want to use Ecplise to develop Android, then we have to add this Android development in the use of plug-ins,only after installing these plugins can we use Ecplise to develop Androidso our ADT is the equivalent of binding our SDK development tool to ecplise, or linking it to support our Android development. How to install ADT:u select Helpàinstall New software on the menu ... 5, in order to let our ecplise and the SDK environment to associate then we need to configureUnder Windows->preferences in the menu barthe configuration is the SDK location.Here we can develop the Android program on the Ecplise.
Android Application Environment Building