Windows environment Android Studio v1.0 installation Tutorial

Source: Internet
Author: User
Tags version control system

Android Studio v1.0 installation Tutorial Studio 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 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. a second optionAndroid SDKIf you have a computer that already exists Android SDKCan not be checked. a third optionAnd Fourth 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 and Android SDKThe installation directory.

Explanation 3

If you are in Explanation 1Checked in the HAXM(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 requires VC +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 use 36XClass of software will prohibit installation 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 a check on your Android SDK。 Someone will be stuck here for a long time, the big reason is: network connectivity problems. can be configured by hostsThe way to solve. If the check needs to be updated, it will let you install, so there will be later Explanation 3- Explanation 6
If you want to skip this step, you can do the following:
In the Android Studio installation directory binDirectory, locate idea.propertiesFile, appended at the end of the file disable.android.first.run=true

Explanation 8

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

Explanation 9

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

Explanation 10

If you Explanation 9If you select the first option, the interface will be displayed. Choose AcceptClick FinishTo install.

Explanation 11

If you Explanation 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。 Click NextYou can see similar explain tenThe page, select AcceptClick FinishFor installation.

Explanation 12

When you are finished updating 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



Under this page, set the JDKOr Android SDKDirectory.

Windows environment Android Studio v1.0 installation Tutorial

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.