Androidstudio installation, configuration, testing

Source: Internet
Author: User
Tags android sdk manager

Androidstudio installation, configuration, testing (win7_64bit)

    Directory

1. Overview

2. Tools used in this article

3. Installation Test

4. Simulator installation, use

5. Common Configuration

6. Note matters

7. Related blog posts

>> See images can be opened in the new tab to see a larger image

1. Overview

Androidstudio is a professional Android development environment, based on IntelliJ idea. In the past, the development of Android is more used Eclipse+adt this model, but the emergence of Androidstudio, making Android become more intelligent, concise. Google has no longer supported ADT updates, so it's time to give up Eclipse+adt and switch to Androidstudio.

2. Tools used in this article

   Androidstudio installation package (v2.2 Preview 4) ( required )

   JDK installation package (v8u91) ( required )

3. Installation Test

3.1 Prepare the SDKbefore installing Androidstudio and specify the installation (unzip) directory and workspace (project file directory) for Androidstudio.

3.2 Download the Androidstudio installation package, which provides a compressed package version, compressed package version is available for decompression , but it does not include the SDK, need to download separately.

    Note: as soon as you install a version of Androidstudio, and then a new version, you will receive an official push in the upper right corner of the IDE, without FQ to update.

3.2 Unzip the above compressed package, double-click Start Studio64.exe, follow the prompts to complete the installation:

3.3 Create the first app:

4. Simulator installation, use

Prior to the use of the AVD manager in the SDK installation configuration, here is another way to start the AVD manager, which is to start with the Androidstudio plugin :

5. Common Configuration

5.1 Software font settings

5.2 Opening a document prompt

5.3 Show Line numbers

5.4 Automatic Folding

5.5 Code font, color settings

 

The Java language is most commonly used to write Android programs, so here 's a special Java color scheme :

Also note that several colors are often used such as:

5.6 Encoding Settings

The encoding setting is important. It is recommended that the compiler used is set to UTF-8 encoding to be compatible with Chinese, otherwise garbled.

The compiler, like the Eclipse series, is GBK encoded by default, and if ported directly to the Androidstudio with the default encoding UTF-8, Chinese characters will be garbled.

6. Note Matters

6.1 If the link covered in this article is swallowed, or if it is found to be wrong, please contact QQ245176013.

6.2 Installation Version:

6.3 If you want to reinstall the system, be careful to export the software configuration file, and then re-install and then import (import):

6.4 Sometimes the application created does not show the layout , so there are two common workarounds:

6.4.1 lowering the layout display version

6.4.2 Re-make project (the current idea makes project icon differs from this small hammer, but the location is the same, and of course it can be opened from the build option ...). )

If not, it's time to check the layout file reference or the theme settings for errors.

6.5 for R file errors or other code errors , the following solutions are recommended:

6.5.1 Cleanup Project

6.5.2 Reset Project

7. Related blog posts

7.1 Android Development environment configuration

strong> 7.2        android SDK Manager and AVD Manager use

strong> 7.3        intellij idea Install, configure, test

strong> 7.4        eclipse for javase Install, configure, test

7.5 Eclipse for Java EE installation, configuration, testing

Back to Catalog

Androidstudio installation, configuration, testing

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.