Ubuntu installation Configuration Jdk+eclipse+android SDK

Source: Internet
Author: User

A total of 5 steps:

1. Installing the JDK

2. Install Eclipse

3. Installation ANDROID-SDK

4. Install adb

5. Installing ADT in Eclipse

1. Installing the JDK

It has been installed before.

sudo apt-get install SUN-JAVA8-JDK

The advantage of using the command-line installation is that you do not configure environment variables.

2. Install Eclipse

http://www.eclipse.org/downloads/, choose Linux 32bit

Double-click Eclipse to start the Eclipse program and choose your own workspace when you start

At this point, eclipse is even done with the installation.

3. Installation ANDROID-SDK

Official http://developer.android.com/sdk/index.html

Select Android-sdk_r24.3.4-linux.tgz

After downloading, double-click Open, unzip the same way as the previous JDK decompression, no longer repeat

Export android_home= "/home/work/software/android-sdk-linux" Export path= "$PATH: $ANDROID _home/tools: $ANDROID _home/ Platform-tools "

At this point the SDK is equivalent to a software manager, if you want to do Android development, at least one Android version, this time is empty, then configure the ADT plugin in eclipse

You can start Android with the command line:

#android

4, install adb(with the third step may be a bit repetitive, but in order to clear the idea, the browser can ignore this step)

1. Download ANDROID-SDK

2, after decompression and placed in a directory, set environment variables, in the ~/.bash_profile or ~/.BASHRC file,

I put it in a BASHRC, and I joined a line.

Export path=${path}:< Storage Directory >/tools

3. Start Android, download Android SDK Tools | Android SDK Platform Tools | Android SDK Build-tools | Android Support Repository | Android Support library these several files.

chmod 777 < storage directory >/TOOLS/ADB #可能需要做这一步

3, connected to the mobile phone, through the terminal, into the tools directory, the first execution, input command adb kill-server.

4. The ADB is now ready to use. ADB tools are very easy to use, can debug Android phones, below are some common commands, may be drawn to summarize an article detailed introduction.

5. ADB devices

6. ADB root

7. ADB shell

5. Installing ADT in Eclipse

There are two ways to install the http://developer.android.com/sdk/eclipse-adt.html#installing, the first is on-line installation, the second is to download the installation package first, then install it directly with Eclipse, Two ways the result is the same, the recommended way to install online (at that time in here a long time, the installation of the time has been prompted missing something, such as, the next day suddenly can be installed, inexplicably, I hope readers can install success! )

Open Eclipse--->help--->install New software

Click Add after the input box

Enter the following name: ADT Plugin (can be named casually)

After location, enter: https://dl-ssl.google.com/android/eclipse/

Click OK, follow the prompts, step by step installation, the middle will be prompted whether to restart Eclipse, choose Restart now on the line. And then we'll configure OK.

Ubuntu installation Configuration Jdk+eclipse+android SDK

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.