"Go" Windows environment Android Studio v1.0 installation Tutorial

Source: Internet
Author: User
Tags version control system

Original URL: HTTP://ASK.ANDROID-STUDIO.ORG/?/ARTICLE/9

Http://android-studio.org/index.php/docs/experience/158-androidstudio-v1-0-win-install

Windows environment Android Studio v1.0 installation Tutorial Preparation Tool
    • 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.

Installation

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. 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.

Prerequisites for running Android Studio

Install the JDK and configure the JDK environment 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 and append disable.android.first.run=true to the file at the end.

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 a page similar to the explanation 10, 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, stating that your JDK or Android SDK directory is pointing to a problem, please see the settings below **JDK or the Android SDK directory * *.

Additional import of previous versions of Android studio projects

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 a JDK or Android SDK directory

Sometimes many people running Android Studio will remind you that the JDK or Android SDK does not exist and you need to reset it. You need to go to the global Project Structure page to set it up. Go to the Global Project Structure page method 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.

"Go" 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.