"Go" Android Studio installation Configuration Learn tutorial Guide download and install--good

Source: Internet
Author: User
Tags version control system

Background

I believe you are no stranger to Android studio, Android Studio is Google I/O Conference for Android Development of new development tools, many open-source projects are already in use, Google's update speed is also very fast, Clearly feel that this is the future of Android development, then we have no reason to embrace the future?

Although the introduction of a long time, but the extent of the domestic seemingly popular is not high, in view of a lot of friends to ask for a detailed tutorial studio, then today I will teach you to download, install, use, Studio road from here to start.

Android Studio VS Eclipse

Believe that the current domestic use of eclipse is still the majority, then first of all, a few of the advantages of studio, compared to more convincing, to explain why we are migrating from Eclipse to studio.

    • 1, Google launched the

Without a doubt, this is its biggest advantage, Android Stuido is launched by Google, specifically for Android "tailor-made", Google is strongly supported by a IntelliJ idea to transform the IDE, This should be able to explain why it's the future of Android.

    • 2, Faster

Eclipse startup speed, response speed, memory consumption has been criticized, I believe you should have a deep understanding of this, and often encounter a card-dead state. Studio is a leader in all aspects of eclipse

    • 3. More Beautiful UI

The black theme I am demonstrating on I/O is fantastic, geek, Stuido's Darcula theme's Cool black interface is really tall, compared to eclipse black theme is too low

    • 4, more intelligent

Tip completion is significant for development, and studio is smarter, intelligently saved, and never has to be Ctrl + s every time. The efficiency will be greatly improved when you are familiar with studio.

    • 5. Integration of Gradle Building tools

Gradle is a new build tool that supports Gradle from studio debut, and can be said to gradle a collection of the benefits of Ant and Maven, both in configuration, compilation, and packaging.

    • 6. Powerful UI Editor

Android Studio's editor is very smart, in addition to absorbing the advantages of Eclipse+adt, but also comes with a multi-device real-time preview, relative to the Android developers is an artifact ah.

    • 7. Built-in terminal

Studio built-in terminal, which is the gospel for people who are accustomed to command-line operations, no longer has to switch back and forth, and a studio is all done.

    • 8. More perfect plug-in system

Studio supports a variety of plugins, such as Git, Markdown, gradle and so on, what you want plug-ins, direct search for downloads.

    • 9. Perfect integrated version control system

The installation comes with a popular version control system such as GitHub, Git, SVN, and can be directly check out your project.

Everyone read the above is not very tempted, the advantages are many, but we will encounter a lot of problems when learning, such as the directory structure of Studio and Eclipse, shortcut keys and so on completely different, need to adapt to a period of time, Gradle also increased the learning cost, Although Google's update speed is already quite fast, but the latest is the 1.0RC version, has not yet released the official version, stating that there may be some minor problems, studio official explanation is not supported NDK, so if your project used the NDK best not to use studio.

But I believe that Google will be more and more perfect, learning cost and adaptation stage is our technology has to maintain the mentality, once you start to believe that you can not leave it.

Finally, here's my local studio:

Ubuntu 12.04 (64-bit) installs Android Studio entire process http://www.linuxidc.com/Linux/2013-05/84812.htm

Android Studio v0.1 Early adopters http://www.linuxidc.com/Linux/2013-05/84681.htm

Android Studio Using tutorial http://www.linuxidc.com/Linux/2013-05/84579.htm

Android Studio Development Guide Http://www.linuxidc.com/Linux/2013-05/84543.htm

Android Studio Set themes and problem solving methods that do not support Chinese http://www.linuxidc.com/Linux/2013-05/84488.htm

Android Studio Download Installation and cannot open the workaround http://www.linuxidc.com/Linux/2013-05/84409.htm

Android Studio installation using graphics tutorial http://www.linuxidc.com/Linux/2014-09/106914.htm

Get ready

Some of the official websites of Google Android are limited in their domestic visits for reasons you know. So before you start to download the installation studio, you need to bring your own ladder, there are many ways to FQ about how to do so, there is not too much to introduce, privately think as an Android developer, do not understand FQ basic can not do. So this investment is worth it, it is recommended that you buy a VPN directly, because I have been tossing a lot of fq things, either unstable, or slow, later figured out, all the money can solve the problem is not a problem.

Download

Official download has two places, all need FQ.

    • Android Developer Official website

The site of the Android Developer website can be downloaded directly, but this site seems to only update beta and the official version, currently only updated to Beta 0.8.14.

    • Android Tools Project Site

The website of the Android development tool, the link above is Studio's Canary channel, lists the various real-time preview versions of Studio, etc., currently the latest version is 1.0RC.

Create a HelloWorld Project

As for the installation there is nothing to say, click to run directly. Here I use the 1.0RC version of the Mac system as an example to create the first HelloWorld project. Other platforms are pretty much the same, assuming you've already configured the JDK and Android SDK environment, and you're installing studio for the first time.

    • 1, first run the Welcome screen

    • 2, after the first time will go to the Setup Wizard page

Click Next to enter the Select Settings Type Wizard page

There are two options "standard" and "custom", that is, standards and customizations, if your native Android SDK is not configured, then it is recommended that you choose "Normal", click "Finish" button

Since I have downloaded the SDK locally and configured the environment variables, I chose "Custom" and then to the next step:

This step selects your local SDK location, you can see that there is a 2.25GB SDK to download, because Studio 1.0 by default to download the 5.0 SDK and some tools, and then click on the "Finish" button

(PS: This selection and download of the 2.25G component is a bug in studio, the comments are reminded, thank the classmate.) If the speed does not want to skip this step can add a line in the bin directory idea.properties: Disable.android.first.run=true on the line, Mac platform right-click Install package->show Packages Contents I found the bin directory. )

    • 3. Download Dependent components

Then go to the Download Components page, this process needs FQ, and rely on your speed, time a bit long, we wait patiently ...

Click the "Finish" button when the download is complete.

    • 4. New Project

On this page we can create a new project, import items locally or on GitHub, and see recently opened projects on the left, and I'll create a new project directly.

And then to the following interface

We fill in the project name and registration and project path, etc. then "Next"

This page supports you with TV, Wear, glass and so on, we only choose the first item OK, select the Minimum SDK and then "Next"

This page selects an activity template, like Eclipse, we choose a blank activity.

Click "Finish" and so on will come out as follows a progress bar, a lot of people easily stuck here, here need to download Gradle, only the first time will download, a little slow, need fq, we also patiently wait for the next

After successful download, see the following complete project interface

Now that a simple studio project is finished, you can see in the picture that the default is a white theme, not cool enough? Studio defaults to bringing a black theme on top of the tall, simply change it to OK.

Change theme to Darcula under preference-appearance

Then we'll look at the changed theme.

It's cool, it's got wood. Here's a brief introduction to the first phase of studio, followed by directory structure, shortcut keys, import projects, integrated GitHub, Gradle, and more.

"Go" Android Studio installation Configuration Learn tutorial Guide download and install--good

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.