When comparing Android Studio vs Coda 2, the Slant community recommends Coda 2 for most people. In the question“What is the best code editor for iOS?” Coda 2 is ranked 4th while Android Studio is ranked 5th. The most important reason people chose Coda 2 is:
Coda 2 comprises all you would expect from an IDE: it supports multiple languages (including all the standards); it performs autocomplete of project names, as well as language functions; it supports SVN and GIT; it has good support for plugins (or you can write your own); it has a configurable editor; and it has a built-in preview.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Officially supported by Google
Android Studio is the software built by Google themselves to be used for Android Development. As such, it's certain that support for it will never drop as long as Android apps are still being developed.
Studio is also the tool that Google recommends using for Android development and it's the IDE that gets updates related to Android first.
Pro Based on the powerful IntelliJ IDEA
Unlike its predecessor, which is based off Eclipse, Android Studio is build on top of Jetbrain's Flagship Java IDE which offers over a number of features. It's also open-source too (Community Edition only).
Pro Live code updates and renderings of app
Layouts are built and can be observed in real time and are automatically updated after every change. You can even see these changes on different screens.
Pro Extremely easy to integrate Google Services
Because it's made by Google to be the tool to be used for Android Development, it's also very easy for Google to add great support for their services in the IDE and make it easier to integrate Google Services into Android applications built with Studio.
Pro Uses the powerful Gradle build tool out of the box
Android Studio uses Gradle as the official build tool for projects, moving away from the now outdated Apache Ant.
Gradle is a powerful build tool, especially for Android development with which it's very easy to do things that are otherwise impossible or very hard to do on other build systems, thing like: upgrading the build system without breaking the project itself or allowing you to separately define the development and production versions.
Pro Pushes fast to the built-in emulator
Pushing to the built-in Android emulator can be up to 10 times faster than pushing to a physical device.
Pro Extremely fast preview
Since Android 2.0, Google have been focusing more and more on the IDE's speed, going so far as making it 2-2.5 times faster than older versions.
But the greatest feature when it comes to speed though is the new feature called "Instant Run". This is comparable to writing HTML, where you write the HTML and just refresh te page to see the changes. On mobile though, updating anything would take a lot of time for the system to rebuild.
Instant Run allows developers to build their app once (on physical devices, emulator or both) and as they change their code, AS does hot code swapping where it only updates the parts of the code that have been changed and the developer can see those changes after a second or two.
Pro Intelligently replaces values
References are automatically replaced with their real values, so you can easily view which color you are using for example.
Pro Supports many platforms
Linux, Windows, and Mac are supported.
Pro Allows GPU tracking
For graphics-intensive apps or games, Android Studio has a GPU profiler baked in. With this you can see exactly what is happening inside the device when a new image is drawn on the screen.
Pro Can test Google Play Services API straight from the emulator
Since the built-in emulator has Google Play Services like a physical device, you can test a lot of API calls without having to deploy your application to a device.
Pro It supports naked
Pro Real IDE with all the benefits
Coda 2 comprises all you would expect from an IDE: it supports multiple languages (including all the standards); it performs autocomplete of project names, as well as language functions; it supports SVN and GIT; it has good support for plugins (or you can write your own); it has a configurable editor; and it has a built-in preview.
Cons
Con High memory use
Con Many errors that are almost impossible to remove
Gradle sync fail
Render problem
Class can't be found
Layout
Reinstall repository
Update SDK (even with latest version)
Con Apps run slow on the ARM version of the emulator
While the Android team have recently fixed issues that had to do with emulation on an x86 architecture and greatly improving emulator speeds, emulating an Android device and running apps on an ARM architecture is still pretty slow.
Con Many offline issues
Con Android development only
Android Studio is the official IDE for Android and it works great as an Android IDE. Unfortunately, that's the only thing it can do. If you want to develop applications for other platforms in Java, you have to learn another IDE as well.
Con Defective UI
There are several things in Coda that simply don't work, and never have. For instance, the root directory for your local and remote files is simply not honored. For every project, you can specify the root directory for its files. But when you open the project in Coda, it doesn't go there. The file browser just shows whatever the last directory was that you were using, and will write files to the wrong place. Thus, it defeats the purpose of setting the home directory in the first place.
Also, splitting the editor doesn't work. If you've done any programming, you know how important it is to be able to view two files simultaneously. Coda fails to do this, with a bizarre insistence on making the two panes dependent on each other.
Con Support for Mac and commercial use only
Coda 2 is only available on Mac (even though that does make it a native app, meaning its much faster). Coda 2 costs $99 after the 30 day free trial is up.
Con No XDebug
If you also write PHP, there's no XDebug support available.
