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