"Android Development experience" Android Studio1.0 full version first experience--mac/window Dual platform Installation Guide

Source: Internet
Author: User
Tags version control system

Reprint Please specify source: http://blog.csdn.net/zhaokaiqiang1992

Since Google launched Android Studio (as) at the I/O Conference in 2013, the beta has been constantly updated and I've been watching the dynamics of this development tool. Google finally released the official version of as in the last few days and encouraged Android developers to move from eclipse to the new development tool. For domestic developers, due to the use of habits and team work relationship, may not turn to as in the short term, but in the long run, I feel that as will be replaced by Eclipse, because eclipse of memory, often stuck, slow and other shortcomings, I have a little unbearable! Also, many of the new projects on GitHub have been built using as, and it's a hassle to pour in with eclipse! Therefore, after the release of the official version of AS, I decided to start learning the use of AS.

Mac Edition installation

Due to the need to download the dependent packages during the installation of AS, please bring your own ladder before starting the download and installation. Regarding the ladder question, the window system's request Baidu "The Free Door", the Mac system may use another window computer to use "The Free Gate" first as the proxy server, then sets up the HTTP proxy. Too troublesome please direct to start VPN, do Android do not own ladder simply pardoned.

Before you begin the installation, download the 1.0 official version of the installation package.

Domestic DOWNLOAD Link: http://tools.android-studio.org/

Official website Download Link: http://developer.android.com/sdk/index.html

Since my system is Mac, the next step is to start with the Mac system as an example, and the installation of the window system will be given later.

After you open the installation package, simply drag the Android Studio.app into the Applications folder. After success, click on the icon, you can go directly to the Welcome screen, this time please make sure that your machine has a ladder, otherwise the process will be very slow and certainly will not succeed.

After the welcome interface loading is completed, the program will usually arrive at the Setup boot interface, however, it is also possible to stay in the following loading interface, this time please do not panic, ensure that the machine has a ladder case, you can wait, I in the installation process has been in this interface for 1 hours, Just go to the setup screen below, so if you're in this situation, you can go out and have a meeting or something.


But if you want to skip this step directly, 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 file at the end, Then this step will not be carried out.


Once we have reached this interface, we can set it up in one step.


In this interface you can choose Standard or custom, I am in the process of installation is directly selected Standard mode, but if you have the Android SDK, then you can choose the custom mode, and then select the local SDK.

After setting this step, the program is the most critical step, because it is the first time to use, as will download API21 dependency package, the process time is longer, in the case of ensuring that your machine has a ladder, you can go to see a movie and eat something.


After all the dependencies have been downloaded, the Cancel button will become finish, after clicking Finish, congratulations, you can finally use the official version of as!


Window Edition installation

Windows version with SDK version please download at this address: Https://dl.google.com/dl/android/studio/install/1.0.0/android-studio-bundle-135.1629389.exe

The next steps in the installation process are not explained, because you just need to click Next.
This article uses the installation file that contains the SDK to explain the installation steps for the installation files that do not contain the SDK. If you install using an installation file that does not contain the SDK, the installation steps will be less than those steps.

(1) first option: Android Studio program, required. The second option: Android SDK If your PC already exists, the Android SDK can not be ticked. The third option and the fourth option are all related to the virtual machine, and if you do not use a virtual machine or a virtual machine in the SDK, you can uncheck it.

(2) If the HAXM (fourth option) is checked in (1). This step occurs when HAXM provides acceleration services for virtual machines. You need to set this value according to your machine's content size, which is generally recommended by default.


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


(4) The next step is to use the software configuration for the first time after the installation is successful. The first interface that appears is the import configuration file


If you have not used as before, then choose the third one.

(5) This is a check on your Android SDK. May be stuck here for a long time, a big reason is: there is a problem with the network connection. Can be resolved by configuring the hosts. If the check requires an update, it will let you install, if you want to skip this step, you can
In the Android Studio installation directory under the Bin directory, locate the Idea.properties file and append disable.android.first.run=true to the file at the end.


(6) After the interface, and the above Mac version almost.



If we choose the standard mode, this interface will be displayed. Select Accept Click Finish to install.


This interface is displayed if we choose to customize it. To select an installation directory, it is important to note that this directory cannot contain spaces and Chinese characters. It is not recommended to use the default%appdata% directory. Click Next to see a page similar to the above, select Accept click Finish to install.



(7) Once we've done this, we can start using as.



When you finish updating the Android SDK, you will see this interface. Until this interface is explained, you can use Android Studio.
Option 1: Create an Android studio project.
Option 2: Open an Android studio project.
Option 3: Import the official sample to download the code from the network. This feature is not available in previous beta versions, and it is recommended to take a look at the official examples.
Option 4: Import the code from the version control system. Supports CVS, SVN, Git, Mercurial, and even GitHub.
Option 5: Import a non-Android studio project. Like the pure Live Eclipse Android project, Idea Android project. If your Eclipse project is exported using the official recommended export (that is, exporting using Generate Gradle build files), we recommend that you import using option 2.
Option 6: Set.
Option 7: Help documentation.


In a later article, I'll cover some of the particularly handsome features and basic uses of Android studio, so stay tuned.

"Android Development experience" Android Studio1.0 full version first experience--mac/window Dual platform Installation Guide

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.