Ubuntu10.04 manually install AndroidSDK

Source: Internet
Author: User
1. Download the android SDK to the official website. Download http://developer.android.com/sdk/index.html2.to decompress the file ~ Under the tar-xvzfandroid-sdk_r20.0.1-linux.tgz3. Download adb .~ /Android-sdk-linux/tools/android, you only need to update platform-tools. If the update fails, you can go to tools-& gt

1. Download the Android SDK
Download http://developer.android.com/sdk/index.html to official website

2. decompress the file ~ Lower
Tar-xvzf android-sdk_r20.0.1-linux.tgz

3. Download adb
.~ /Android-sdk-linux/tools/android, you only need to update platform-tools.
If the update fails, you can add a New URL: http: // 74.125.237.1 dl-ssl.google.com in tools> Manager add onsites> user Defined Sites> New
You can.

4. Configure Environment Variables
Configure environment variables after the update is complete. Run sudo gedit/etc/profile to edit the file profile and add the following content below:
ExportANDROID_HOME = ~ /Android-sdk-linux
Export PATH = $ ANDROID_HOME/tools: $ ANDROID_HOME/platform-tools: $ PATH

5. If the adb device cannot be found, run the following command:
#! /Bin/sh
# Adb-server
PATH = "~ /Android-sdk-linux/platform-tools"
# Echo $ PATH
Cd $ PATH
# Chdir $ PATH
Echo $ (pwd)
./Adb kill-server
./Adb start-server
./Adb devices

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.