[Android development experience] Android Studio1.0 official version first experience-Installation Guide for Mac/Window dual platforms, androidstudio1.0

Source: Internet
Author: User

[Android development experience] Android Studio1.0 official version first experience-Installation Guide for Mac/Window dual platforms, androidstudio1.0

Reprinted please indicate the source: http://blog.csdn.net/zhaokaiqiang1992

Since Google launched Android Studio (hereinafter referred to AS) at the I/O conference in 2013, the beta version has been continuously updated, and I have been paying attention to the dynamics of this development tool. A few days ago, Google finally released the official version of AS, and encouraged Android Developers to switch from Eclipse to this new development tool. For domestic developers, due to the relationship between usage habits and team work, they may not change to AS in the short term. However, in the long term, I feel that AS will definitely replace Eclipse, because Eclipse occupies a lot of memory, often gets stuck, slow speed, and other shortcomings, I can't stand it anymore! In addition, many new projects on github have been built using AS. It is very troublesome to use Eclipse! Therefore, after the official version of AS was released, I decided to start learning how to use.

Installation for Mac

Because the dependency package needs to be downloaded during the AS installation process, please bring your own ladder before starting the download and installation. About the ladder, the Windows system should be Baidu "Free Door". The Mac system can use another Window computer to use the "free door" as the proxy server, and then set up the http proxy. If it is too troublesome, please start with VPN directly. It is difficult to create a ladder without your own Android.

Before installation, download the installation package in the official version 1.0.

Domestic download link: http://tools.android-studio.org/

Download link: http://developer.android.com/sdk/index.html

Since my system is Mac, the following steps are as follows: the installation of the Windows system is shown later.

Open the installation package and drag Android Studio. app to the Applications folder. After the operation is successful, click the icon to go to the welcome page. At this time, make sure that your machine already has a ladder. Otherwise, the subsequent process will be very slow and will certainly not succeed.

After the welcome interface is loaded, the program usually arrives at the setting guide interface, but it may also stay on the loading interface below. Do not panic during this time, when the machine has a ladder, you can keep waiting. During installation, I waited for more than one hour on this interface before entering the following setting interface, so if you encounter such a situation, you can make an appointment first.

If you want to skip this step, you can find idea in the bin directory under the Android Studio installation directory. properties file, append disable at the end of the file. android. first. run = true, so this step will not be executed.

After the above interface is reached, we can set it step by step.

On this interface, you can select standard or custom mode. During the installation process, you can directly select the standard mode. However, if you have Android SDK locally, you can select the custom mode, then select the local SDK.

After setting this step, the program has reached the most critical step. because it is the first time to use it, AS downloads the dependent package of API21, this process takes a long time, if your machine has a ladder, you can watch a movie for dinner or something.

After downloading all dependent packages, the Cancel button will be changed to Finish. After you click Finish, congratulations, you can finally use the official version of!

Windows Installation

Download the Windows version with SDK at this address: https://dl.google.com/dl/android/studio/install/1.0.0/android-studio-bundle-135.1629389.exe

Simple operations such as the next step during installation will not be explained, because you only need to click next.
This document describes how to use an installation file that contains the SDK, including the installation steps for an installation file that does not contain the SDK. If you use an installation file that does not contain the SDK for installation, the installation steps will be less than these steps.

(1) The first option is Android Studio, required. Option 2: Android SDK. If the Android SDK already exists on your computer, do not select it. The third option and fourth option are related to the virtual machine. If you do not use the virtual machine or the virtual machine in the SDK, You Can deselect the check box.

(2) If HAXM (the fourth option. HAXM is used to provide acceleration services for virtual machines) is selected in (1), this step appears. You need to set this value based on the Content size of your machine. We recommend that you set this value by default.

(3) After the following interface appears, the installation is successful.

(4) The following steps are performed for the first time after the installation is successful. The first interface appears is to import the configuration file.

If you have never used AS before, select the third one.

(5) This is checking your Android SDK. This may take a long time on the card. The major reason is that there is a network connection problem. You can solve this problem by configuring hosts. If the check requires updates, you will be asked to install it. If you want to skip this step, you can
Find the idea. properties file in the bin directory under the Android Studio installation directory, and append disable. android. first. run = true to the end of the file.

(6) The later interface is similar to the Mac version above.

If we select the standard mode, this interface is displayed. Select Accept and click Finish to install the SDK.

If we select Custom, this interface is displayed. Select an installation directory. Note that the directory cannot contain spaces or Chinese characters. The default % APPDATA % directory is not recommended. Click next and you will see a page similar to the above. Select Accept and click Finish to install it.

(7) after completing the above steps, we can start using the

After you update the Android SDK, you will see this interface. You can use Android Studio only on this page.
Option 1: Create an Android Studio project.
Option 2: open an Android Studio project.
Option 3: import the official sample, and the code will be downloaded from the network. This feature was unavailable in previous beta versions. We recommend that you take a look at the official examples.
Option 4: Import code from the version control system. Supports CVS, SVN, Git, Mercurial, and even GitHub.
Option 5: import a non-Android Studio project. For example, a pure Eclipse Android project and an IDEA Android project. If your Eclipse project is recommended for export (that is, using Generate Gradle build files), we recommend using option 2 for import.
Option 6: Set.
Option 7: Help document.

In the subsequent articles, I will introduce some of the features and basic usage of Android Studio, so stay tuned.

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.