ArticleDirectory
- Installation Steps (online and offline)
Bytes ------------------------------------------------------------------------------------------------------------------------
[Android learning topic] Build an android Development Environment
Skyseraph Dec 2nd 2011 hqu
Email:Zgzhaobo@gmail.comQQ: 452728574
Latest modified Date: Dec 2nd 2011 hqu
Bytes ------------------------------------------------------------------------------------------------------------------------
Installation Steps (online and offline)
- ①JDKInstall(JavaDevelopment Environment)
N download JDK: http://www.oracle.com/technetwork/indexes/downloads/index.html
N install JDK
N environment configuration (computer-properties-advanced-environment variables-system variables)
U adds two new variables and sets the value.
L java_home: D: \ Program Files \ Java \ jdk1.6.0 _ 23 (JDK installation directory)
L classpath:.; % java_home % \ Lib \ tools. jar; % java_home % \ Lib \ DT. jar; % java_home % \ bin;
U append after path: % java_home % \ bin;
U restart
N check JDK: Run-> cmd-> JAVA-version
N download: http://www.eclipse.org/downloads/, select Eclipse IDE for Java developers or another version, must be version 3.4 or later
N. decompress the package.
- ③Android SDK-Download Tool Install
N download: http://developer.android.com/index.html, latest version, select .zipcmd.exe File
N installation: Install the. exefile or decompress the. ZIP file to the specified directory.
N run SDK setup.exe and click available packages.
If no package is available, click Settings, select "Force https: //..." In MISC, and then click available packages.
U select the SDK you want to install and its documentation or other packages, and click installation selected, accept all, install accepted to download and install the Selected Package
N environment Configuration
U append the following path: Tools directory. The local machine is D: \ Program Files \ Android-SDK-Windows \ tools. Restart
N detection SDK: Run-> cmd-> Android-H
- ③Android SDK-Installation Package Install
N download: http://www.verycd.com/topics/2887449/
N Extract
N environment Configuration
U adds a new variable and sets the value android_sdk_home: Location of the android simulator.
U appended to path: % android_sdk _ home % \ tools;
N check SDK: first run the SDK manager.exe, and then click Run-> cmd-> Android-H
N open Eclipse IDE, help-> install new software-> Add-> dialog box, enter name and location
U name: Any
U location: http://dl-ssl.google.com/android/eclipse or https://dl-ssl.google.com/android/eclipse
N installation: select all or only the android ddms and Android development tools, and choose-> next,-> next,-> finish
N: Set "SDK location"
U restart eclipse and go to window> preferences> Android> browse... Select the SDK path folder
U apply-> OK
N open Eclipse IDE, help-> install new software-> Add-> archive-> select ADT-** .0.0.zip, all the way to next
N Note: remove the following 3rd hooks. Do not check for updates. Otherwise, the check takes a long time.
N open eclipse. Go to Windows> Android SDK and AVD Manager
N virtual devices-> New
When no option is available in the U target drop-down list (cause: some necessary available packages (available packages) are not installed in the android SDK installation ))
U first click available packages on the left panel, and select https://dl-ssl.google.com/android/repository/repository.xml on the right
U and then click Install selected.
N: enter the name and select the target API. the SD card is of any size and skin is selected. Currently, the default value of hardware is used.
N Click Create AVD to create the AVD.
N view the current targets: Run-> cmd-> Android list targets
N create AVD: Run-> Android create AVD-name <Name> -- target <AVD Name>
N specifies AVD in eclipse
N open eclipse. File-> New-> Project menu, select "android Project"
N select Create project from existing source, and select a project under the sample directory under the SDK package
N run
N installing the SDK http://developer.android.com/sdk/installing.html #
N Android development tour: environment construction and helloworld http://www.cnblogs.com/skynet/archive/2010/04/12/1709892.html
// ================================================ ========================================================== ========== //
Bytes ------------------------------------------------------------------------------------------------------------------------
Author:Skyseraph
Email/Gtalk:Zgzhaobo@gmail.comQQ: 452728574
From:Http://www.cnblogs.com/skyseraph/
The copyright of this article is shared by the author and the blog. You are welcome to repost this article. However, you must retain this statement without the author's consent and provide a clear link to the original article on the article page. Otherwise, you will be held legally liable.
Bytes -----------------------------------------------------------------------------------------------------------------------