by chinhodado · 10y ago · 0 comments
With that said, your mileage may vary: Android Studio is one of those applications that seem to misbehave under certain specific conditions. Namely, if your main OS drive is not a SSD, things seem to slow down to a crawl.
Now for some perspective, i know i have a rather biased view in this: i came to AS from eclipse when switching from backend to android (still do my backend stuff in eclipse), so i am not tainted by the supposedly terrible quality of eclipse-based android tooling that came before AS. Also, i am highly suspect of subconsciously blaming the IDE for certain annoyances that actually are just extra stuff that any tooling would have to do for android dev. I never used full IntelliJ, so i am only talking about AS in the strictest sense and do assume that regular IntelliJ can be closer to eclipse in terms of direct compiler integration and even build tool builds will not only be much more flexible than the gradle guiderails in AS but also less heavyweight (i guess i'm only talking about the gradle android plugin in this part).
Now as AS2 claims to turn things upside down, i'd be glad to forget all this.
Gradle is a horrible thing that lets people do whatever they want - and people who think freedom == productivity flock to it for that reason only. History of course teaches otherwise.
(I'm not a fan)
(Used it via nVidia CodeWorks for Android when doing a mostly C++ project which also had some Java in it for Android.)
We replaced ant with gradle when we switched to Android studio.
How to import a library with some resources with ant ? -copy paste it somewhere accessible in your project. It makes importing and more importantly updating the support lib (or most libs really) a pain in the ass.
How does it work with gradle ? compile "com.android.support:appcompat-v7:23.2"
Between this and flavors, I might not love gradle, but it is still a big step up from ant.
The instant run in AS2 helps a lot, but without it, build times are unbearable.