Background
I believe you are no stranger to Android studio, Android Studio is Google I/O Conference for Android Development of new development tools, many open-source projects are already in use, Google's update speed is also very fast, Clearly feel that this is the future of Android development, then we have no reason to embrace the future?
Android Studio VS Eclipse
1, Google launched. Without a doubt, this is its biggest advantage, Android Stuido is launched by Google, specifically for Android "tailor-made", Google is strongly supported by a IntelliJ idea to transform the IDE, This should be able to explain why it is the future of Android.
2, faster. Eclipse startup speed, response speed, memory consumption has been criticized, I believe you should have a deep understanding of this, and often encounter a card-dead state. Studio is a total leader in Eclipse, regardless of which aspect.
3, the UI is more beautiful. The black theme I am demonstrating on I/O is fantastic, geek, Stuido's Darcula theme's Cool black interface is really tall, compared to the eclipse under the black theme is too low.
4, more intelligent. Tip completion is significant for development, and studio is smarter, intelligently saved, and never has to be Ctrl + s every time. The efficiency will be greatly improved when you are familiar with studio.
5. Integration of Gradle building tools. Gradle is a new build tool that supports Gradle from studio debut, and can be said to gradle a collection of the benefits of Ant and Maven, both in configuration, compilation, and packaging.
6, the powerful UI editor. Android Studio's editor is very smart, in addition to absorbing the advantages of Eclipse+adt, but also comes with a multi-device real-time preview, relative to the Android developers is an artifact ah.
7, built-in terminal. Studio built-in terminal, which is the gospel for people who are accustomed to command-line operations, no longer has to switch back and forth, and a studio is all done.
8, More perfect plug-in system. Studio supports a variety of plugins, such as Git, Markdown, gradle and so on, what you want plug-ins, direct search for downloads.
9. Perfect integration of version control system. The installation comes with a popular version control system such as GitHub, Git, SVN, and can be directly check out your project.
(Above background and Android Studio VS Eclipse reference http://stormzhang.com/devtools/2014/11/25/android-studio-tutorial1/)
First, to www.android.com official website download Android Studio software, and installation;
Second, the new Helloword project
Step1: Start Android Studio (start very slow)
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/58/53/wKioL1SujIHR7e1XAAZd7t9_SX8495.jpg "title=" Untitled. png "alt=" wkiol1sujihr7e1xaazd7t9_sx8495.jpg "/>
Step2:file-->new
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/53/wKioL1SujM6wMPQaAAHR4mE6X1A708.jpg "title=" capture. PNG "alt=" wkiol1sujm6wmpqaaahr4me6x1a708.jpg "/>-->next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/56/wKiom1SujFSiUZbsAAJkrbZ2RqQ534.jpg "title=" Capture 2. PNG "alt=" wkiom1sujfsiuzbsaajkrbz2rqq534.jpg "/>-->next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/56/wKiom1SujH_QfPMzAAJ7znT8_0U607.jpg "title=" Capture 3. PNG "alt=" wkiom1sujh_qfpmzaaj7znt8_0u607.jpg "/>-->next
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/53/wKioL1SujWGzp5OnAAHB0nf99ag728.jpg "title=" Capture 4. PNG "alt=" wkiol1sujwgzp5onaahb0nf99ag728.jpg "/>--finish
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/56/wKiom1SujXzSytMZAAXc7cs5poM816.jpg "title=" Capture 6. PNG "alt=" Wkiom1sujxzsytmzaaxc7cs5pom816.jpg "/>
Third, the problems encountered:
1. Must the wall be turned over during installation? It seems to be certain.
2. An error occurred during installation: There is no to install or update. The following SDK component is not installed:build-tools-21.1.1. It is best not to follow some of the forum download build-tools-21.1.1 the original sdk\build-tools under the build-tools-21.1.2 Delete, but change the contents of the Other.xml configuration file. Generally in
C:\Users\ "user_name" \. Androidstudio\config\options \other.xml ,
For using the PAC file for proxy settings I do this:
<option name= "Use_http_proxy" value= "false"/>
<option name= "Use_proxy_pac" value= "true"/>
<option name= "Proxy_host" value= "Proxy.x.com:81/mypac.pac"/>
See details: Http://stackoverflow.com/questions/27683678/android-studio-component-installation-not-working-in-proxy-security-server
This article is from the "udbful" blog, make sure to keep this source http://udbful.blog.51cto.com/9433603/1600875
Android Studio Platform Setup