2.3 Build Android App development environment

Source: Internet
Author: User

1. Install the Android SDK

(1) preferred download Android SDK;

(2) After the download is complete, unzip it under Ubuntu system;

(3) After the decompression is complete, configure the environment variables;

① Open the/etc/profile file with vim;

② added at the bottom:

Android_sdk_path=/mch0dmin/android-sdk-linux

path_platforms=.: $ANDROID _sdk_path/platforms: $PATH _platforms

path_tools=.: $ANDROID _sdk_path/tools: $PATH _tools

Export Android_sdk_path path_platforms Path_tools

③ Run the command "Source/etc/profile" to make the configured environment variable take effect;

2. Install Eclipse

(1) Download eclipse, pay attention to the number of digits in Ubuntu;

(2) Use the TAR command to decompress the compressed package;

(3) After the decompression is complete, switch to the extracted path, you can see a name of "Eclipse" executable file, run this file, you can start eclipse;

Note: When configuring environment variables using the above command, if you shut down the terminal during the installation of Eclipse, you will have to rerun "source/etc/profile" to make the configured environment variable take effect!!!

When you configure environment variables, you can also modify the ". bashrc file" under the User directory!!

3. Installation of ADT (online installation)

(1) First run eclipse;

(2) Click "Help" > "Install New Software" in the menu bar to open the "Install" dialog box;

(3) Click on the "Add" button in the upper right corner, in the "Add Repository" dialog box, enter "ADT" in the "Name" text box (can be another name, but do not repeat with the existing Repository), in the "Location" text box, enter " Http://dl-ssl.google.com/android/eclipse ", then click on the" OK "button;

As the need for "Fanqiang" here, do it yourself, follow the prompts next installation can be.

It is recommended to download Adt-bundle directly, which includes the Eclipse,adt plugin and SDK TOOLS, so you don't have to configure these environments without having to install the JDK!

ADT bundle:http://tools.android-studio.org/index.php

2.3 Build Android App development environment

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.