Recently there is an IT industry despise the chain of articles in the Circle of Friends crazy biography, it is said that with the contempt of Android studio with IntelliJ, with IntelliJ contempt with eclips, looks very interesting, but the emergence of new technology tools, can indeed solve some of the limitations of tools. To occupy the "commanding heights" of the despised chain in the beginning, I decided to write a tutorial to install Android Studio from scratch, hoping to help the novice to quickly deploy the development environment, but also hope that the veteran can give more valuable advice and common progress.
Now install as tutorial a lot of search, why do I have to write this? That must have something others do not have, then my two big magic is the hosts and forced HTTP, good, get to the point.
Environment Introduction:
Windows 7 Enterprise 64bit
i5-m480 8G
First step: Download the JDK
As follows:
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Accept the license to download the Windows 64bit version, such as:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/08/wKioL1SotY7yq4oGAAI74oR-w4A063.jpg "title=" screen _ 010415_113330_am.jpg "alt=" Wkiol1soty7yq4ogaai74or-w4a063.jpg "/>
The installation is done by default when the download is complete.
Step Two: Configure the JDK
Shortcut key Press the start key +pause break into the computer properties, click Advanced System Settings "environment variable" at the system variable point "new"
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/09/wKioL1Sov8TB_bG_AAOut3QDTz8601.jpg "title=" 1.png " alt= "Wkiol1sov8tb_bg_aaout3qdtz8601.jpg"/> If Java is installed by default, then turn on the computer, navigate to the C drive, program files,java,jdk1.8.0_25 Copy this directory address, In step new position variable name fill in "Java_home", variable value paste this directory address, OK save.
Create a new system variable named "CLASSPATH", and the value of the variable is pasted as follows.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;" (Red Word section), it is recommended to check the file directory, dt and tools are in the above directory.
Edit "Path" and add "%java_home%\bin;%java_home%\jre\bin;" at the end. Be careful to separate the existing variable values in English and (semicolons). OK exit.
At this point, open the command line, enter: javac-version, if the output Java version as shown, that is, the Java installation configuration is successful.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/09/wKioL1SowouAMUolAAEOiuJG_qE955.jpg "title=" screen _ 010415_122932_pm.jpg "alt=" Wkiol1sowouamuolaaeoiujg_qe955.jpg "/>
Step three: Download the Android Studio installation package (the First Magic weapon appears here )
For some technical reasons, it is difficult to access the Android official website on the mainland, in this, I collected some IP addresses, added to the local Hosts file, you can access, the following address to download the installation package. The mysterious Hosts file to see attachments, will not replace the Ask Baidu.
Click on the address below to access the download screen.
Http://developer.android.com/sdk/index.html
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/09/wKioL1SoxAmTachGAAIwFbdnvdI774.jpg "title=" screen _ 010415_123602_pm.jpg "alt=" Wkiol1soxamtachgaaiwfbdnvdi774.jpg "/> Click on" Download Android Studio for Windows "jump after consent to use instructions , which starts the download.
Fourth Step: Install all the way next ~
Fifth Step: Configure Android SDK Manager
After the default installation is complete, start the main program, come to the default home page, such as click on the SDK Manager icon, will automatically load repository, in general, will show the various "Failed to fetch ... "This is not the first, click Close to log."
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/09/wKioL1SoyWGCwPcdAATHpdDc78A576.jpg "title=" screen _ 010415_125458_pm.jpg "alt=" Wkiol1soywgcwpcdaathpddc78a576.jpg "/>
Click "Tools" in the menu bar of the Android SDK Manager window, then click "Option" and the first item in "Others" will be "force https ...." Using HTTP "tick. Close ( here is a second magic weapon )
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/0C/wKiom1SoyQzCyfA6AAMI4pBNZ_U901.jpg "title=" screen _ 010415_010043_pm.jpg "alt=" Wkiom1soyqzcyfa6aami4pbnz_u901.jpg "/>
At this point, the SDK manager is introduced again, view log, comfortable.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/09/wKioL1Soym3RFukoAASvUkCiNfk555.jpg "title=" screen _ 010415_010242_pm.jpg "alt=" Wkiol1soym3rfukoaasvukcinfk555.jpg "/>
Sixth step: Download the SDK
To this step has been steady, select the desired SDK version, click Install,accept License, download can. At this point in the case of using a wired connection, basically can achieve maximum bandwidth download.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/09/wKioL1SozDGTtMF5AAFU8-U5QJQ316.jpg "title=" screen _ 010415_011053_pm.jpg "alt=" Wkiol1sozdgttmf5aafu8-u5qjq316.jpg "/>
Tall on the Android Studio
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/0C/wKiom1SozHygoRGwAAXedDHzcUA147.jpg "title=" screen _ 010415_011451_pm.jpg "alt=" Wkiom1sozhygorgwaaxeddhzcua147.jpg "/>
At this moment, congratulations to everyone has come to the top of the chain of contempt ~
This article is from my notes blog, so be sure to keep this source http://soleil1987.blog.51cto.com/1867315/1598937
How to install Android studio from scratch and quickly configure the SDK