All the configurations you should know when using Android Studio for the first time, androidstudio

Source: Internet
Author: User

All the configurations you should know when using Android Studio for the first time, androidstudio

[Statement] 

Reprinted, but keep the original source of the article → _ →

Life One: http://www.cnblogs.com/smyhvae/

Source: http://www.cnblogs.com/smyhvae/p/4390905.html

Contact: smyhvae@163.com

 

[Body]

Recently, programmers have become popular on the Internet to encourage teachers. The rewards for teachers are higher than those for programmers. I think it is indeed a good job. What? You have never heard of it? Go to the end of this article to make a burst.

Before the holiday, I wrote a blog: I used Android Studio to build an Android integrated development environment (Graphic tutorial). I can take a look at the previous article. At that time, Andriod Studio was still in the beta version. Now Android Studio has been upgraded to stable version 1.1. I decided to write a new tutorial,Let those who are still holding eclipse (including themselves) across this hurdle.

 

[Development Environment]

Physical server version: Win7 flagship edition (64-bit)

Android Studio version: official version 1.1

 

[Advantages of Android Studio]

  • Gradle-based construction support
  • Specific Android reconstruction and quick fix
  • Richer template code makes it easier to create a program
  • Prompt tools to better control and capture program performance, availability, version compatibility, and other issues
  • Support ProGuard and application signature functions directly;
  • The built-in layout editor allows you to drag and drop the UI component and preview the layout on multiple screen configurations;
  • Built-in support for Google cloud;
  • Built-in support for svn and git tools;
  • Supports plug-ins, which are available in eclipse and can be found in Android Studio.

Android Studio download the green channel: http://www.androiddevtools.cn/

 

1. First installation:

After Android Studio is installedAvoid downloading the new SDK, The operation is as follows:

Before starting the AS, you must first import the idea in the bin directory. add a row in the properties file: disable. android. first. run = true to avoid automatically re-downloading the SDK when the AS is enabled for the first time. Right-click the installation Package on the mac platform and choose Show Package Contents to find the bin directory.

When you open Android Studio for the first time, you need to configure JDK and SDK:

Case SensitiveDon't believe it. Enter a lower-case intent, and the prompt is as follows:

Case Sensitive. What should I do if I want to make the AS case insensitive? The procedure is as follows:

 

 

Press Ctrl and click the mouse to view the source code:

If the sdk has been successfully loaded, this is actually set in the shortcut key:

The shortcut key in the blue box means: press Ctrl and click the mouse to view the source code.

 

8. Set the automatic import package:

Previously in Eclipse, we had to export packages every time we referenced some classes, and AS can be set to automatically export packages. Select "file -- Settings -- Editor -- Auto imports" in the menu bar ":

Select the positions of the two arrows.

 

9. display the number of lines of code:

.

 

What? Do you think you do not know enough about Android Studio? It doesn't matter. I will continue to fight for the three days of the holiday. Please wait for the following. Eye maintenance time:

 

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.