Android Studio 1.0 Full installation Raiders

Source: Internet
Author: User

Android Studio is officially 1.0, but for some reason, many friends have encountered problems in the installation process, including myself, of course,

After a night of groping, finally is the installation complete, below I will meet the problem and the solution to summarize.

1. Preparatory work

Download install Java Development Environment JDK, this I will not say more, pay attention to the environment variable configuration is good

2. Download Android Studio

We can go to the official website to download, direct download speed is too slow, recommended the use of Baidu Cloud, seconds. Post:https://dl.google.com/dl/android/studio/install/1.0.1/android-studio-bundle-135.1641136.exe

Due to some non-resistance factors, many friends can not access, here, I recommend a website, the wall to download stress-free, used to all said. Website address: http://www.androiddevtools.cn/

3. Install Android Studio

Installation Nothing to say, basically is the next step to get it done. The IDE is still large, it is recommended to install on the D drive.

4. SDK Manager Configuration

After some waiting, finally installation is complete, please calm down the excitement, don't worry open, because directly open will link Google download update SDK, no VPN, this will certainly fail.

Workaround: Locate the idea.properties file in the bin directory under the studio installation directory and add a line disable.android.first.run=trueat the end of the file, You can not let Android boot check SDK updates.

But, don't be too early, we still can't open studio directly. Don't forget sdk!. Studio has 5.0 of the SDK, there are different needs to go to the site I just recommended download different API level SDK, the content on the site is very comprehensive. Unzip the downloaded compressed package into the Platforms folder under your SDK installation directory. Open the SDK Manager.exe under the SDK root, click Tools->options, configure as:

Click Tools->manage add-on sites, where you can manage all the link addresses. Cancel the original Google address, leave Glass, in the User Defined Sites tab, add the following I give the image URL:

Http://mirrors.neusoft.edu.cn/android/repository/addon-6.xml
Http://mirrors.neusoft.edu.cn/android/repository/addon.xml
Http://mirrors.neusoft.edu.cn/android/repository/extras/intel/addon.xml
Http://mirrors.neusoft.edu.cn/android/repository/sys-img/android-tv/sys-img.xml
Http://mirrors.neusoft.edu.cn/android/repository/sys-img/android-wear/sys-img.xml
Http://mirrors.neusoft.edu.cn/android/repository/sys-img/android/sys-img.xml
Http://mirrors.neusoft.edu.cn/android/repository/sys-img/google_apis/sys-img.xml
Http://mirrors.neusoft.edu.cn/android/repository/sys-img/x86/addon-x86.xml
Http://mirrors.neusoft.edu.cn/android/repository/addons_list-2.xml
Http://mirrors.neusoft.edu.cn/android/repository/repository-10.xml

When all is added, do not forget to reload it in the package option.

OK, so the SDK update is no problem. Maybe some friends will touch the card done loading packages here fixed problem, if there is this problem, then carefully check your SDK list, find the items that need to be updated, go to the website I recommended just now, download the latest version, directly unzip the old version before overwriting is OK, Do not worry can be backed up.

5, Gradle Update

Android Studio project is based on Gradle, each new project will automatically check the update Gradle, the previous beta version of the time I encountered an online update gradle failure situation, the following gives the offline update Gradle:

First, open the Android Studio project catalog, search gradle-wrapper.properties This file, open the content as follows:

#Wed APR 15:27:10 PDT 2013
Distributionbase=gradle_user_home
Distributionpath=wrapper/dists
Zipstorebase=gradle_user_home
Zipstorepath=wrapper/dists
Distributionurl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip

Did you see the last sentence? The latest version is Gradle-2.2.1-all, to download the latest version of the official website, do not unzip, put to C:\Users\Your_Computer_Name\.gradle\wrapper\dists\gradle-1.12-all\ 2apkk7d25miauqf1pdjp1bm0uo directory, directories vary by computer.

6. Open Android Studio

OK, at this point, you can open Android Studio, is it very laborious and frustrating? The rope is in the toss.

Installation process If you encounter other problems, please leave a message, thank you

Android Studio 1.0 Full Installation Guide

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.