How to install and configure Android Studio

Source: Internet
Author: User

Android Studio has finally reached the age of 1.0, so I tried to learn how to use it. Getting started is really a hassle, so share how to download and use it today.

First, download & install

You can go to Google to give the address download, I use a big God here to give the latest address, fast and the version seems to always be the latest:

: http://tools.android.com/download/studio/canary/latest

PS: Now this address point in and will jump to Google's address, do not know later will not change. Studio from Google is an EXE file.

Anyway, I downloaded the good after a compressed package, extracted to any non-Chinese directory can be.

In the bin directory, you can find the right application for your system.

The advantage of this compression package is that it comes with gradle, so you can save a lot of downloads.

The first is to import the relevant configuration of studio, if you have previously installed, then the update can be imported directly, do not need to reset.

at this point, if you have used eclipse before, then you must have downloaded and installed the SDK, you can choose Custom, otherwise, choose Standard. This tutorial assumes that we have installed the SDK and selected custom.

Ok, now you can use, detailed use of the tutorial posts:

Http://06peng.com/archives/36

Second, Google provides the

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

Third, solve Gradle project sync failed

1. Go to C:\Users\ 's own username \.gradle\wrapper\dists\gradle-1.12-all\2apkk7d25miauqf1pdjp1bm0uo and see what the Gradle version number is.

2. Download the corresponding version number of the compression package Http://services.gradle.org/distributions/gradle-1.12-all.zip (The following version number will be changed by yourself) from here
3. Close Android Studio and download the good copy C:\Users\ your username \.gradle\wrapper\dists\gradle-1.12-all\2apkk7d25miauqf1pdjp1bm0uo

4. All the files in the file except the copy of the Gradle-1.12-all.zip have been deleted, that is, leaving only the compression package

5. Then restart Android Studio, this time the runtime will also be grable-1.6 download, but in fact, is only an decompression process.
6. Project Settiongs Select Use Gradle wrapper (recommended), then you can


7. When importing other works, it is found that use Gradle wrapper (recommended) has changed (not configured for the current project)
You can only select Use local gradle distribution, at this time in Gradle home: input D:\Program files\android\android-studio\plugins\gradle (please change your children's shoes on their own The installation directory for studio.)

Thank you: http://blog.csdn.net/caopeng51/article/details/10948171

Iv. Setup SDK & JDK

Set up the SDK and Jdk:file->project Structure

Five, shortcut key settings

File->setting->keymap

Some of these shortcuts are really powerless to spit out, and I've changed a bunch. But found no eclipse inside the function to jump out of parentheses, is looking for ...

Vi. Setting Annotation Styles

File->setting->file and Code Templates

How to install and configure Android Studio

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.