Android Studio download and installation tutorial, androidstudio

Source: Internet
Author: User

Android Studio download and installation tutorial, androidstudio

Recently, Google launched a new development tool android studio at the Google I/O conference. This is a development tool based on intellij IDE. It is built using Gradle. I believe that students who have done java know this tool. Today, I installed it to try it out. I opened it and saw that it was the same as the previous intellij ide's Android project, that is, it was simplified. Not much nonsense. Let's start our tutorial.

1. First, you need to download it from the official android website and install it.

Http://developer.android.com/sdk/installing/studio.html#download

2. The installation is just like the usual step by step. Check the directory structure after installation.

We can see that the above is the installed directory, where we can see the "sdk" folder, which is the android SDK, this time Google directly packed the sdk under the development tool.

After that, you can click Export studio.exe to run it.

Double-click the project to create a new project.

Ps: here we will talk about this project. The project here in android studio is different from that in eclipse. Here "new project" is equivalent to creating a new workspace. The module is actually the project created by eclipse, and may not be used to it at the beginning. Created by default

3. Create a project.

This step is the same as creating a project in eclipse. The only difference is that there is a module name.

The following is a brief explanation.

Application name: Application name

Module name: name of the project (the project with the same name will be automatically created after the project is created)

Here I select theme as none.

The next step is the same as eclipse.

The Created directory is like this.

Open the layout file and find that the layout can be seen in real time on the right side. This function is not bad.

Run the command to see the effect:

Let's talk about this: the green triangle next to MyFirstAndroid runs the program, and the beetle on the right is the debug program.

The Wrench Icon is set, the right side is the project structure, and the right side is the creation of AVD, that is, the simulator. Other eclipse icons are the same.

The running result is as follows:

Next, let's talk about how to create a new module and run it again.

Select File> new module. Select android application and select next. The process is the same as that of the previous step.

We can see an additional secondAndroid project.

How to run it? select

Click "+" on the left and select android application.

Situation,

Enter name, select module, and simulator. Then you can select the application you want to run.

Hey, I 've written a lot. I 'd like to give you a try. Android studio is only available in version 1.0. We recommend that you continue using eclipse, which is relatively stable. You can have time to play.

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.