Reprint please indicate this article from the blog of the big glutinous rice (http://blog.csdn.net/a396901990), thank you for your support!
The company sent a visit to the United States to attend the AnDevCon conference to share with us what we learned at the conference.
AnDevCon is not similar to Apple's WWDC and Google I/O, but a private android programmer organization, which is supported by Google twice a year. I am talking about some practical development experiences and so on.
He shared several topics with us. I will sort them out and share them with you later.
The first thing he recommended to us is not to use Eclipse, because it is said that you would be embarrassed to say hello to others when using Eclipse to attend the conference. Because Android Studio is currently used for development.
After he demonstrated a few features, he felt that Eclipse was indeed exploding, so I also used it. I tried both Mac and Windows 7, but it was better to develop Mac.
Android Studio is an Android IDE developed by Google in the past 13 years based on Intellij IDEA. It is said that there were a lot of bugs in the past, so there were not many people to use it. It was very good after the latest versions, and it was almost out of the box. Next we will compare Android Studio and Eclipse.
Android Studio has the following advantages over Eclipse:
1. More beautiful than Eclipse
I like the black theme. The black theme that I used to spend a lot of time using Eclipse is really too much. The cool black interface of the Darcula topic comes with Android Stuido.
2. Faster than Eclipse
Including startup speed, response speed, memory usage, and so on.
3. Tips: more intelligent and more user-friendly.
Note completion is of great significance for development. After you are familiar with Android Studio, you will be more efficient. Every time you run Android Studio, there will be a small Tips, which is awesome.
4. Integrated the Gradle build tool
Gradle is a new build tool that combines the advantages of Ant and Maven. However, since I do not know Gradle at all and I am also familiar with Ant and Maven, This is a disadvantage for me. It is also a little annoying to synchronize Gradle every time. I guess I still don't know how powerful it is. I need to study it well if I have time.
5. Support for Google Cloud Platform
Android Studio supports local Google Cloud Platform, allowing you to run server-side code. I don't know much about it.
6. Powerful UI Editor
The Android Studio editor is very intelligent. For example, if you create a new control, the width and height attributes of the control are automatically completed. You do not need to manually add two lines android: layout_width and android: layout_height each time. The color will be automatically displayed next to the custom color (this is very useful to me ). And so on. Many other small details are doing very well, greatly improving the UI Editing efficiency. You can drag controls at will, even though they are basically not used in real development.
7. Improved plug-in system
One of the most annoying parts of Eclipse is its plug-in system, which is extremely inconvenient to download and manage. However, in Android Studio, you can browse all the plug-ins like Apple store and search, download, and manage them directly.
8. Perfect integrated Version Control Software
Install popular version control tools such as GitHub and CVN.
9. Android Studio was launched by Google.
Android Stuido was launched by Google, which is specially tailored for ANDROID. As Android Developer, be sure to hold your thigh tight.
After reading this article, will you be excited? However, it is difficult to switch from Eclipse to Android Studio.
Difficulties in converting Eclipse to Android Studio:
1. the directory structure of Android Studio and Eclipse is different. Android Studio has an additional Module concept.
2. It is easy to import Android Studio and Eclipse projects to Eclipse, but it is quite difficult to import Android Studio projects to Eclipse.
3. Gradle's learning and use, Android Studio development is always inseparable from Gradle. I have been familiar with Ant before, and this time I have to learn Gradle a little hard to start.
4. Interface adaptation
5. the adaptation of shortcut keys. Although Android Studio can be converted into Eclipse shortcut keys, there are still a lot of new Android Studio shortcut keys that need to be adapted.
6. handling various legacy projects and other reasons
Summary:
As you can see, although Android Studio has so many advantages, it is basically impossible to completely turn it over. The main reason is that the habits developed over the years are different from the Eclipse project structure and the hateful Gradle.
However, Android Studio is Google's son after all. Not only does it have a powerful Google father, but it also has a wonderful mother like intellij idea. I think Android Studio will certainly be a trend in the future. It would be nice to get familiar with it even if it is not a transformation. After all, it is not a bad thing to know more about IDE. So let's just try it.
Android Studio official: http://developer.android.com/sdk/installing/studio.html
I wanted to write a document for Android Studio, but I found that it is already quite good. Let's find it by yourself. Finally, let's talk about the temptation of several Android Studio.
The legendary theme of cool black.
To use a black subject, clickFile-> Settings-> IDE Settings, Appearance-> Theme.There are three themes,Darcula IntelliJ Windows, WhereDarculaThat's the black theme.
Powerful UI editing interface: the UI effect can be directly displayed next to it. You do not need to adjust the control like in Eclipse, switch to the Tab, take a look at the effect, and then switch back to continue the adjustment.
The following two figures show the directory structure of Android Studio and Eclipse. It may take some time to adapt to Android Studio if Eclipse is used to it. Android Studio has another Module concept.
Create a file view, which is completely customized for Android, No matter what Android Studio you want
Awesome plug-in store interface. You can search for any plug-in or plug-in.
Plug-in management interface: