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