Windows environment Android Studio v1.0 installation Tutorial

Source: Internet
Author: User
Tags version control system

Windows environment Android Studio v1.0 installation tutorial 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.

Simple actions like the next step in the installation process will not be explained, as you just need to clickNext。
This article usescontains installation files for the SDKTo explain, including theinstallation files that do not contain the SDKInstallation steps. If you useinstallation 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.a second option:Android SDKIf you have a computer that already existsAndroid SDKCan not be checked.a third optionAndFourth Optionare related to virtual machines, and if you do not use virtual machines or virtual machines in the SDK, you can uncheck them.

Explanation 2


Choose android Studio andAndroid SDKThe installation directory.

Explanation 3

If you are inExplanation 1Checked in theHAXM(That is, the fourth option.)HAXMThis step occurs when you use a virtual machine to provide acceleration services, detailed content, and search by yourself.
You need to set this value according to your machine's content size, which is generally recommended by default.

Explanation 4


The operation of Android studio requiresVC +Environment, the Android Studio is installed automatically during installation. This is why it is recommended to use the installation package (EXE).
Some people's computers use36XClass of software will prohibit installationVC +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 installationJDKand configureJDKEnvironment 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 a check on yourAndroid SDK。 Someone will be stuck here for a long time, the big reason is: network connectivity problems. can be configured byhostsThe way to solve. If the check needs to be updated, it will let you install, so there will be laterExplanation 3-Explanation 6。
If you want to skip this step, you can do the following:
In the Android Studio installation directorybinDirectory, locateidea.propertiesFile, appended at the end of the filedisable.android.first.run=true。

Explanation 8


Can see this interface, indicating that you need to update yourAndroid SDK。 Recommended to update.

Explanation 9


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

Explanation 10


If youExplanation 9If you select the first option, the interface will be displayed. ChooseAcceptClickFinishTo install.

Explanation 11

If youExplanation 9If you select the second option, the interface will be displayed. You need to select an installation directory, note that:This directory cannot contain spaces and Chinese characters. Using the default%appdata% directory is not recommended。 ClickNextYou can see similarexplain tenThe page, selectAcceptClickFinishFor installation.

Explanation 12


When you are finished updatingAndroid 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 yourJDKOrAndroid SDKThe directory is pointing to a problem, please see belowSet **JDKOrAndroid 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 upJDKOrAndroid SDKDirectory sometimes a lot of people running Android Studio will remind youJDKOrAndroid SDKDoes not exist, you need to reset it. You need to get to the big picture.Project StructureSettings under the page. Into the globalProject StructureThe page method is as follows:
    • Method 1


      Choose Configure - project Defaults - Project Structure
    • Method 2


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



Under this page, set theJDKOrAndroid SDKDirectory.

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.