Ubuntu Configuration Android Development environment

Source: Internet
Author: User

All of this is androiddevtools,:http://www.androiddevtools.cn/.

First, install the Android SDK

Unzip the files and put them all on the/OPT/JAVA/ANDROIDSDK

II. installation of ADT

Unzip the files, put them all to/opt/java/adt (these files I think is used for installation, after installation, should be useless)

Open Eclipse, above the toolbar "help" = "Install New software", click on the right of the add

Name casually write, the author named ADT, file path selection/opt/java/adt

And then just install it all the way next and finish, the components that pop up in the middle are all selected for installation

If you are prompted to restart eclipse after the installation is complete, select "Yes"

Third, configure Eclipse's Android SDK

After you restart eclipse in the previous step, you are immediately prompted not to find the SDK, because after Eclipse installs ADT, it already has the Android development module.

But the Android SDK is missing, so choose the first step of the Android SDK, associated to eclipse.

Step: "Window" = "Preferences" and "Android" on the left, the SDK location on the right to select the first step of the installation directory, that is/OPT/JAVA/ANDROIDSDK

Iv. Configuring the rest of the Android SDK files

After I complete the above steps, Eclipse prompts the SDK for the missing "platform tools" and "Build tools", which were previously known to be required for the 2 folders in Windows configuration.

So this time, we also need to install these 2 plugins

First, open the SDK Manager, you need to use the terminal,/opt/java/androidsdk/tools/android

When opened, the SDK Manager has selected 10 installation packages by default, 6 of which are plugins required by the Android emulator, but the default selection is the latest, the author installs Android 7.0,

But this does not need to install the latest, according to their own needs to install, directly click "Install XX Packages ...", in the pop-up window select "Accept License", and then click "Install"

(where the plugin for the emulator file needs to be selected separately, accept license)

Finish, and then start writing Android programs.

Ubuntu Configuration Android Development environment

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.