is Windows and Linux under ANDROIDSDK Universal?

Source: Internet
Author: User
Tags root directory

The latest want to move to Linux to learn, but androidsdk that thing is too big, our information the Great Wall is too high, want to use Sdkmanager to download the complete SDK is basically impossible, unless you have a good speed to no friends.

When it comes to the Great Wall of information, I have to say two more words.

It must have been felt recently, the Great Wall and high, and thick. For those of us who don't want to use a paid VPN, it's really miserable.

Although while, there are always tools to help us out, but.

I just want to say, in this information age, the Great Wall of information built so high, so thick, really good? Is it really protecting us?

If you really go to the domestic regardless of the use of any method can not turn out the time, that and the isolation of what is the difference? After all, this is the information age.

Forget to say, this is not what we people should discuss, our duty is just to study well, with their own strength to find a good job, the family, the life ~ haha.

Say back to the topic, Windows and Linux under the ANDROIDSDK is universal? Most people have a full SDK under win, and want to download the full SDK once they're built under Linux?

Of course it's not necessary!

Because the SDK is not all of the data is platform-sensitive, some of the data is generic, and general-purpose this part of the data is the largest in the SDK,

Let's say a complete SDK contains which directories, here in Android-sdk-windows as the Sdkhome directory (android-sdk-linux)

Linux directory has a little difference, that is Sdkmanager, win the software in the Sdkhome directory of the root directory, AVD software is also in the root directory,

The Sdkmanager and Avdmanager in Linux (which is actually not called the two names but an executable file called Android) are in the Tools folder of the Sdkhome directory,

Under Sdkhome are:

Add-ons General

Build-tools not Universal

Docs General

Extras General

Platforms General

Platform-tools not Universal

Samples General

Sources General

System-images General

Temp General (This is the temporary folder that Sdkmanager update data, may not exist, do not have to manage)

Tools Not Universal

The above is a complete SDK contains a directory, of course, does not guarantee that Android future updates will add a new directory

The first two blogs have said how to download the SDK, if you have a full SDK under win, want to build a development environment under Linux

Then only need to download a Linux ANDROID-SDK package, the package after decompression is the SDK Sdkhome directory, the package contains only one tools folder, and a few other empty folders

All you have to do is download the first two blogs that are not generic and how to download them.

When the download is not generic and placed in the corresponding location of the Sdkhome directory, then the win under the Sdkhome directory of those common folders copied to the Linux home directory on the line

In addition, the ADT plugin is also common to eclipse under win and Linux

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.