Build an android Development Environment (based on eclispe)

Source: Internet
Author: User

Java Runtime Environment (JDK installation)
1. Download and install JDK (download from the official website)

2. Right-click "my computer"-> "properties", select the "advanced" panel, and click "environment variables" below ";

3. perform the following operations on "system variables:
1) Create,
Variable name: java_home
Variable value: JDK installation directory (for example, E: \ Program Files \ Java \ jdk1.6.0 _ 22)

2) Modify path and add % java_home % \ bin;

3) create,
Variable name: classpath
Variable value:.; % java_home % \ Lib \ DT. jar; % java_home % \ Lib \ tools. jar;

Eclipse + Android SDK + ADT/motodev studio for Android
1. Download the android SDK installer and decompress it to any directory (you need to download the SDK as needed ).
* Optional: add the tools directory path under the SDK directory (for example, X: \ Android-SDK-Windows \ tools) to the path attribute of "environment variable ), in this way, you can call tools in the tools directory more easily when using command lines.

2. Download eclipse (Java or J2EE) and decompress it to any directory.

3. Run eclipse, open the "help" menu, select the "Software Update" menu item, and select the "Find and install..." subitem. The new update site is as follows:
1)ADT Solution(Official standard development configuration)
Name: ADT plugin
Address: https://dl-ssl.google.com/android/eclipse/

Then install and restart eclipse.

2)Motodev studio for Android Solution(The Development plug-in provided by Moto is also based on ADT, but integrates more abundant development tools. Download the moto developer account. For details, refer to the official website)
Name: motodev studio for Android plugin
Location: https://studio-android.motodevupdate.com/android/2.2

(Logon will be prompted), select motodev studio for Android, download and install.

4. "window"-> "Preferences", find "android" in the pop-up interface (if the installation is successful, you can see it ), set the path of the android SDK.

Set Simulators
In eclipse, open "window"-> "android SDK and AVD manager", select "Virtual Devices" on the left ", then click "new" on the right side of the page to create a new one.



Some building tutorials collected:

Android development journey: environment construction and helloworld -- (image and text)

Full demonstration of building an android Development Environment (JDK + eclip + Android SDK) -- (image and text)

Install motodev studio for Android -- (Official Moto)


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.