Installation and configuration of Android studio throughout the process

Source: Internet
Author: User

First of all, we need to install something with Sdk,jdk and Android Studio, here is the installation link:

Download links for 1.Android studio and SDK: (download bundle version with SDK attached)
http://pan.baidu.com/s/1sjDiYIT#path=%252F1.2.1.1

2.JDK:
Http://pan.baidu.com/s/1sjuVskP

The next step is the installation and configuration process: configuration of the JDK:
    1. After extracting the downloaded JDK, remember the location of the decompression. Then configure the environment variables computer → properties → advanced system settings → advanced → environment variables
    2. System variables → new java_home variable.
      Variable value fill in the JDK installation directory (I am E:\jdk1.7.0_51)

      1. System variables → find Path variable → edit
        Enter%java_home%\bin;%java_home%\jre\bin at the end of the variable value;
        (Note that the original path of the variable value at the end of there is no; number, if not, first enter; number and then enter the above code)
    3. System variables → new CLASSPATH variable
      Variable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point in the front)
      System Variable Configuration complete

Verify that the configuration is successful:
Open command Line (menu key +r, enter CMD)

At the command line input java-version, the following output proves that the JDK configuration was successful:

Android Studio installation:

will download the resulting
Click Run, enter and follow the wizard instructions to install:

There is no need to pay attention to the installation process, just follow the instructions.

Then, after the installation is complete, opening Android studio may encounter such problems:
    • Stay in fetching Android SDK Compoment information interface

      The interface that appears is always getting information on the Android SDK.
      Workaround:
      1) Locate the bin directory under the installed Android Studio directory. Locate the Idea.properties file and open it with a text editor.
      2) Add a line at the end of the idea.properties file: Disable.android.first.run=true, and then save the file.
      3) after shutting down Android studio and restarting, you can enter the interface.
        
    • Failed to fetch URL Http://dl-ssl.google.com/android/repository/repository.xml, reason:connection timed Out:connect
      Connect Google Network timeout
      Workaround:
      When you open the SDK directory installation, the default address is C:\USERS\ADMINISTRATOR\APPDATA\LOCAL\ANDROID\SDK. Open the Sdkmanager, select options under Tools, and tick the option. The first option in others

      Then open the Hosts file in C:\WINDOWS\system32\drivers\etc and add the following on the last line:
      203.208.46.146 www.google.com
      74.125.113.121 developer.android.com
      203.208.46.146 dl.google.com
      203.208.46.146 dl-ssl.google.com

OK, after you open Android Studio, check to see if the SDK path corresponds, open file->other settings->default Project Structure


This is the installation directory for my SDK and JDK

This is how the installation process is configured. I hope this tutorial will be helpful to you.
A video tutorial on Android Studio is attached below:
http://pan.baidu.com/s/1sjDiYIT#path=%252F1.2.1.1

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Installation and configuration of Android studio throughout the process

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.