Android Studio installation Configuration FAQs and Solutions

Source: Internet
Author: User

Android Studio is currently a developer of Android's main push, compared to previous eclipse, its own internal integration of the SDK, etc., easy to develop. I've also tried to download an android studio from the official website for the past few days, but I've had a few problems with the installation and configuration process, so let's share it with you:

Question one

  When installing, it is best to follow its original path to install, do not modify the path. I modified the path and there were some problems that did not resolve.

So remind everyone, in the installation of the best not to modify the installation path Oh ~

question two

' Tools.jar ' seems to is not in Android Studio classpath.

    • Ensure java_home points to JDK rather than JRE.

in the process of opening the above error, the tools package is not found, the workaround is to set the environment variables in the Java home should be noted, in the end need to end with \.

question three

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.

question four

Failed to fetch Urlhttp://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

I encountered four problems in the process of opening, after the solution opened the Android Studio interface, if you have other questions, also welcome everyone to communicate with me.

Android Studio installation Configuration FAQs and Solutions

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.