Android Studio v1.0 installation tutorial in Windows, androidstudio
Android Studio v1.0 installation tutorial in Windows Android Studio v1.0 installation tutorial preparation tool in Windows
- JDK installation package.
Requirement: JDK 7 or later.
- Android Studio Installation File.
- Windows:
Exe (including SDK) (813 MB)
Exe (excluding sdks) (250 MB)
Zip (235 MB)
- Mac
Dmg (234 MB)
Zip (233 MB)
- Linux:
Zip (233 MB)
Note:
- The 32-bit and 64-bit systems are the same installation files.
- If Android Studio has been installed on your computer, you can use the compressed file version.
- You can choose whether to download the installation file containing the SDK based on whether the Android SDK is available on your computer.
- We recommend that you use the installation package (exe) that contains the SDK ).
Simple operations such as the next step during installation and installation will not be explained, because you only need to click next.
This document describes how to use an installation file that contains the SDK, including the installation steps for an installation file that does not contain the SDK. If you use an installation file that does not contain the SDK for installation, the installation steps will be less than these steps. If you use a compressed package for installation, skip this section.
Tutorial 1
Option 1: Required for the Android Studio program. Option 2: Android SDK. If the Android SDK already exists on your computer, do not select it. The third option and fourth option are related to the virtual machine. If you do not use the virtual machine or the virtual machine in the SDK, You Can deselect the check box.
Tutorial 2
Select the installation directory of Android Studio and Android SDK.
Tutorial 3
If you select HAXM (the fourth option. HAXM is used to provide acceleration services for virtual machines, please search for details) in tutorial 1, this step will appear.
You need to set this value based on the Content size of your machine. We recommend that you set this value by default.
Tutorial 4
Android Studio requires a VC ++ environment. Android Studio is automatically installed during installation. This is why the installation package (exe) is recommended.
Some computers use 36X software to prohibit the installation of the VC ++ environment.
Tutorial 5
Generally, you can see this interface. It indicates that your Android Studio has been installed successfully.
Prerequisites for running Android Studio: Install JDK and configure JDK environment variables.
Use the traditional JAVA_HOME environment variable name. Many people will be reminded that the JVM or JDK fails to be searched, almost because of the JDK version or the name of the Environment Variable JAVA_HOME.
Running Android Studio 6
This interface is displayed for each installation. Used to select the configuration file for importing Android Studio.
- Option 1: Use the configuration folder of the previous version.
- Option 2: import the configuration folder under a directory.
- Option 3: do not import the configuration folder.
If you have used Android Studio before, you can select a previous version. If this is your first use, you can select the third item.
Tutorial 7
This is checking your Android SDK. Someone has been on the card for a long time. The major reason is that there is a network connection problem. You can solve this problem by configuring hosts. If an update is required for the check, you will be asked to install the update, which will be explained later in 3-6.
To skip this step, perform the following operations:
Find the idea. properties file in the bin directory under the Android Studio installation directory, and append disable. android. first. run = true to the end of the file.
Tutorial 8
If you can see this interface, you need to update your Android SDK. Update is recommended.
Explanation 9
Select install and update the Android SDK. The first option indicates all options, and the second option indicates custom options.
Tutorial 10
If you select the first option in tutorial 9, this interface is displayed. Select Accept and click Finish to install the SDK.
Explanation 11
If you select the second option in tutorial 9, this interface is displayed. You must select an installation directory. Note that the directory cannot contain spaces or Chinese characters. The default % APPDATA % directory is not recommended. Click next and you will see a page similar to "10". Select "Accept" and click "Finish" for installation.
Tutorial 12
After you update the Android SDK, you will see this interface. You can use Android Studio only on this page.
- Option 1: Create an Android Studio project.
- Option 2: open an Android Studio project.
- Option 3: import the official sample, and the code will be downloaded from the network. This feature was unavailable in previous beta versions. We recommend that you take a look at the official examples.
- Option 4: Import code from the version control system. Supports CVS, SVN, Git, Mercurial, and even GitHub.
- Option 5: import a non-Android Studio project. For example, a pure Eclipse Android project and an IDEA Android project. If your Eclipse project is recommended for export (that is, using Generate Gradle build files), we recommend using option 2 for import.
- Option 6: Set.
- Option 7: Help document.
If you cannot click some options, it indicates that the directory of your JDK or Android SDK is pointing to a problem. Please refer to the settings below ** JDK or Android SDK directory **.
For other Android Studio projects that have been imported to earlier versions, modify the content of some files in the project.
- Build. gradle in the root directory of the project.
'Com. android. tools. build: gradle: 0. x. X' --> 'com. android. tools. build: gradle: 1.0.0'
- Gradle/wrapper/gradle-wrapper.properties under the project root directory.
Http \: // services.gradle.org/distributions/gradle-x.x.x-all.zip --> http \: // services.gradle.org/distributions/gradle-2.2.1-all.zip
- Build. gradle In the Module Directory.
Many Gradle fields need to be renamed again. For more information, see. Image Source.
Setting the JDK or Android SDK directory sometimes many people run Android Studio to 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. The global Project Structure page is displayed as follows:
- Method 1
Select Configure --> Project Defaults --> Project Structure
- Method 2
Select File --> Other Settings --> Default Project Structure
Set the JDK or Android SDK directory on this page.