Early experience of Android Studio 1.0 official version-User Guide to common functions

Source: Internet
Author: User

Early experience of Android Studio 1.0 official version-User Guide to common functions

In the previous article (SEE), we have set up the Android Studio platform. This article introduces some common features of Android Studio. The functions described below are the most commonly used, but they are certainly incomplete. If you have any other questions, please leave a message and I will tell you after the solution.

1. How to import a project created by the Eclipse project

Our previous projects were basically created by Eclipse. What should we do if I want to manage them with Android Studio?

First, select the project to be transferred in Eclipse, then select File-export, select the following item, and export it according to the gradle build method.

In this way, Android Studio can import this project.

First open AS, then File, import project, AS shown below

The icons of projects that can be imported are different.

2. Set the theme Style

The official version of AS has two styles: white black and black cool. It is essential for girls to play handsome games.

Enable Preference first, find the following options, and select a topic as needed.

3. Set the font of the Code

The following page sets the font settings of the Code preview interface. Note the Scheme name. You must first Save As, Save your own name, and then modify the font and size.

4. Set the font of the System Interface

If we want to set the system font, we need to find the Appearance option, select Override defalut fonts by (not recommended), and set the font and size.

5. Set the file and encoding format of the project.

The importance of unified coding for programming is self-evident! If you want to set the Project Encoding format, you must first have a Project, select the Project, open Preferances, and set IDE Encoding, Project encoding, and Default Encoding respectively. It is recommended that all be set to UTF-8.

6. Shortcut Key settings

AS shortcut keys are flexible. They not only have their own set of shortcut keys, but also can be used by Eclipse users for convenience, so that we can get started quickly.

7. Set the number of lines of code to be displayed.

Right-click on the left and select Show Line Numbers.

8. Code Analysis

Android Studio provides powerful code analysis functions, which can be used to detect problems in our project. Select the Analyze menu and then Inspect Code

Select OK in the pop-up box below.

The following is the analysis result of a project.

Many problems are listed here. We can optimize our code based on these tips, which is very powerful!

Full process of installing Android Studio on Ubuntu 12.04 (64-bit)

Early adopters of Android Studio v0.1

Android Studio tutorial

Android Studio Development Guide

How to solve the problem that Android Studio sets the topic and does not support Chinese Characters

Android Studio download and installation and solutions that cannot be opened

Graphic tutorial for installing Android Studio

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

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.