Android官方前些天发布了Android Studio 1.0正式版,集成环境是“Built on IntelliJ IDEA Community Edition”,也就是Google官方基于IntelliJ社区版开发的。
那么现在问题来了,Android Studio跟intelliJ IDEA(integrated with Android SDK)比起来如何?主要优势体现在哪些方面?
由于我是写Java的,但不仅限于Android开发,所以才会有这个问题,按理说Android Studio似乎对于Android开发会专业一点,毕竟Google专门用IntelliJ单独做出一套开发环境,但我对这里面的差异并没有深入认识,所以我才想知道这个“专业”体现在哪里。大家都知道之前Android官方也基于Eclipse搞了个类似的“Android Studio”,同时并存于Eclipse(integrated with Android SDK)开发环境里,那个时候我用的是Eclipse,并没专门为开发android去下载那个ide(在别人电脑上用过一次,没感觉到那个专业版的优势与便捷,完全跟Eclipse没两样嘛)
想听听各位的意见,主要是关于这两者之间差异化的地方,任何观点都欢迎,不一定要针对此问题本身。
伊谢尔伦2017-04-17 12:09:59
The most important thing is that the engineering models are different. If you use idea for Android development, whether you use gradle or not, he will first establish the engineering model of idea for management.
Although Android Studio is based on idea, it directly uses gradle to manage projects, so it does not generate typical project management such as .idea directory.
It is best to use Android Studio for Android development. It has more friendly project support and better understands the version meaning in the gradle plug-in.
That’s what I understand.
巴扎黑2017-04-17 12:09:59
The project directory generated by android studio is very clean, which is one of the reasons why I like it.
黄舟2017-04-17 12:09:59
I can never go back to eclipse after using IDEA (AS).
Personally embodied the most direct advantages:
1 Smart Tip
As far as I know, eclispe needs to enter the first few characters of the keyword in order before it comes out. If it is AS, any character can prompt
2 Preview
In AS, if the resource is a drawable or the like, the thumbnail will be displayed directly. If it is a color, the color will be displayed directly
3 plug-ins
Although eclipse also has many plug-ins, many of them in IDEA are ready to use out of the box, which is so convenient that I cry
大家讲道理2017-04-17 12:09:59
Android Studio will be the IDE officially supported by Google in the future, and ADT based on eclipse will no longer be supported. In the future, new features of Android will be supported first in Android Studio, and the build toolchain is based on Gradle and inherits Maven to facilitate the management of various library projects
The power of intelliJ IDEA is its support for various Java environments. I have never used it and it is inconvenient to evaluate.
迷茫2017-04-17 12:09:59
At present, the different products of jetbrain are basically branches of idea. IntelliJ IDEA Community Edition is the free community version of idea
PHP中文网2017-04-17 12:09:59
If you are developing android applications, it is recommended to use android studio.
1. Android studio itself is developed based on IDEA, and IDEA itself is much easier to use than eclipse in some functions. Such as smart reminders, etc.
2. Android Studio is more convenient than eclipse in writing app UI interfaces. The code and interface are on the same screen. Unlike in ADT, you have to switch to the code after writing it. If the interface is complex, you will be stuck for a long time in the process of switching to it. At the same time, Android Studio also supports real-time viewing of the effects of multiple resolutions.
3. The gradle artifact is much more powerful than ADT. If an application needs to produce several versions of apk, gradle is much more flexible than the original ant, and the DSL-based configuration is much simpler than xml.
4. It seems that Google will also stop updating ADT.
大家讲道理2017-04-17 12:09:59
I compared IntelliJ IDEA (integrated with Android SDK) and Android Studio and found that there is no difference in the generated files. Android Studio just hides some things on the IDE interface. On the surface, it looks very clean. In fact, it only displays The directories and files have been reorganized. All the files displayed in IntelliJ are not eye-catching. I think it is better to use IntelliJ. After all, this can also be used for other development. More importantly, my IntelliJ is genuine. When debugging, The huge advantages are simply unmatched by the community version
大家讲道理2017-04-17 12:09:59
My project configuration is relatively simple. I thought there was no difference at first, but IntelliJ is still a few versions ahead. The sub-window supports windowed mode, which I find very convenient, so I keep using it;
But the last time I dumped the heap of the mobile phone, intellij completely died there and seemed to never be completed. Then I used android studio and it was completed in a while. Don't know why. The intellij used at that time was about 15.0.2, and the android studio was about 1.5.0.0.
So now I still use intellij when writing coding, and use android studio when I need to dump heap. Anyway, for me, the project files of the two are completely compatible.