Windows environment Android Studio v1.0 installation Tutorial

Source: Internet
Author: User
Tags version control system

Original address:

Windows environment Android Studio v1.0 installation Tutorial-Androidstudio expert Quiz community
Http://ask.android-studio.org/?/article/9

Preparation Tools
    • JDK installation package.
      Requirements: JDK 7 and later.
    • Android Studio installation files.
      • Windows:
        EXE (including SDK) (813 MB)
        EXE (not including SDK) (MB)
        Zip (235 MB)
      • Mac
        DMG (234 MB)
        Zip (233 MB)
      • Linux:
        Zip (233 MB)
        Description
        1. The 32-bit system and the 64-bit system are the same installation files.
        2. If Android Studio is already installed on your computer, you can use a compressed file version.
        3. You can choose whether the download contains the SDK installation files based on the Android SDK on your computer.
        4. We recommend that you use the installation package (EXE) that contains the SDK.
Simple actions like the next step in the installation process will not be explained, as you just need to click Next
This article uses contains installation files for the SDKTo explain, including the installation files that do not contain the SDKInstallation steps. If you use installation files that do not contain the SDKinstallation, the installation steps will only be less than these steps. If you are installing using a compressed package, you can skip this section directly. Explanation 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.

Explanation 2

Select the installation directory for Android Studio and Android SDK .

Explanation 3

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

Explanation 4

Android Studio requires VC + + environment to run, the Android studio installation process will be installed automatically. This is why it is recommended to use the installation package (EXE).
Some people's computers use 36X class software will prohibit the installation of VC + + environment, please pay attention to release.

Explanation 5

Generally, you see this interface when it's not an accident. It means that your Android studio has been installed successfully.

Run Android Studio Prerequisites to prepare for work installation JDKand configure JDKEnvironment variables.
Please use the traditional java_home environment variable name. Many people will be reminded that the JVM or JDK lookup failed, almost because of the JDK version or the reason for not using the JAVA_HOME environment variable name. Run Android Studio Tutorial 6

This interface will be displayed for each installation. A configuration file that you choose to import into Android studio.

    • first option : Use a previous version of the configuration folder.
    • The second option : Import the configuration folder under one directory.
    • third option : Do not import a configuration folder.

If you've used Android Studio before, you can choose to go to a previous version. If you are using it for the first time, you can select the third item. Explanation 7

This is the check on your Android SDK . Someone will be stuck here for a long time, the big reason is: network connectivity problems. Can be resolved by configuring the hosts . If the check needs to be updated, it will let you install, so there will be explained in the following 3 - explanation 6 .
If you want to skip this step, you can do the following:
In the Android Studio installation directory under the Bin directory, locate the idea.properties file that was appended to the file at the end of disable.android.first.run=true .

Explanation 8

You can see this interface to show that you need to update your Android SDK . Recommended to update.

Explanation 9

Select Install update Android SDK . The first option represents a full selection, and the second represents a custom.

Explanation 10

This interface will be displayed if you choose the first option in the Tutorial 9 . Select Accept Click Finish to install.

Explanation 11

If you choose the second option in Tutorial 9 , this screen will be displayed. You need to choose an installation directory, you need to note that This directory can not contain spaces and Chinese characters. It is not recommended to use the default%appdata% directory . Click next to see the page similar to the explanation , select Accept Click Finish to install.

Explanation 12

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.

If some of the options cannot be clicked, describe your JDKOr Android SDKThe directory is pointing to a problem, please see below Set **JDKOr Android SDKDirectory * *. Other imports of previous versions of the Android studio project modify the content in some files in the project.
    1. Project root directory under build.gradle.
      ' com.android.tools.build:gradle:0.x.x '--' com.android.tools.build:gradle:1.0.0 '
    2. Project root directory under gradle/wrapper/gradle-wrapper.properties .
      Http\://services.gradle.org/distributions/gradle-x.x.x-all.zip-http\://services.gradle.org/distributions/ Gradle-2.2.1-all.zip
    3. The build.gradle in the specific Module directory.
      Many Gradle fields are renamed and need to be re-mapped to change the details. Picture source.

Set up JDKOr Android SDKDirectory sometimes a lot of people running Android Studio will remind you JDKOr Android SDKDoes not exist, you need to reset it. You need to get to the big picture. Project StructureSettings under the page. Into the global Project StructureThe page method is as follows:
    • Method 1

      Choose Configure - project Defaults - Project Structure

    • Method 2

      Select File --and other Settings --- Default Project Structure

Set up the JDK or Android SDK directory under this page.

Windows environment Android Studio v1.0 installation Tutorial

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.