The Android Studio Story : 1- A whole new world

In their recent Google I/O event, Google was focusing more on development front rather than announcing new product for general public. They tried to make development easy for their other services including their most evolving platform – android. Announcing new services, new guides and a lot of improvement over their current tools, but most important and exciting announcement according to me was their own IDE for android and related development. Called android studio.

Traditionally developers (including me and you) use eclipse IDE’s powered with ADT bundles are being used for android development. They are being used for “ages”, are stable(kind of) and you can get a lot of help from a lot of forums. At some point of history people are also started using IntelliJ Idea for android development, and support for it is growing up as well, but still too many people use Eclipse.

In their announcement on Google I/O keynote, Google engineers Tor Norbye and Xavier Dourchet demonstrated android studio, based on community edition of IntelliJ. Instead of traditional ANT based build, transforming to Gradle based builds, which will be core part of Android Studio build system. Thus making us, the developers relying on eclipse to explore the whole new world.

Here from this post, we are planning to write a series which will help us, the eclipse-rs to move and adopt quickly to the new IDE and development environment. The aim of the series is to know android studio, learn and experience their awesome set of features, learn how we can do some tasks in Android Studio as good as we are doing in eclipse, and be ready to propel with android studio when the time will come.

Right now, Google still supports eclipse and IntelliJ but their main focus is on stabilizing android studio. And they are doing it very fast. Within one and half months of it’s launch Android Studio has evolved from 1.1 to 1.9 (At the time of writing-03 Jul 2013), and while you are reading this, there will be more updates that will make it stable.

So for the first and introductory post, I will share couple of tables that compares Eclipse and Android Studio at a glance. And compare some useful and quick-to-figure out shortcuts.

Here is first table that compares how projects structure is referred in both the IDEs.

1. Project Structure

Apk Location : projectPath/bin-Only unsigned-Visible in eclipse and file explorer as wellApk Location : projectPath/build/apk- Unsigned, and signed apk with gradle config- Not Visible in android studio, Visible in File explorer

In Eclipse

In Android Studio





Build : ANT

Build : Gradle

Apk Location : projectPath/bin

-Only unsigned

-Visible in eclipse and file explorer as well

Apk Location : projectPath/build/apk

– Unsigned, and signed apk with gradle config

– Not Visible in android studio, Visible in File explorer

Here is another table that compares some handy  or quick to figure out shortcuts in both the IDEs.

2. Shortcuts

Legends : ~C = Ctrl, ~S = Shift, ~A = Alt, ~T = Tab , Normal keys are used without ~.

For readability AS = Android Studio.


Eclipse Shortcut

AS Shortcut


Open any resources file

~C+~S+R [As open resource]

~C+~S+N [As open resource]

Go to source



Find occurrences

~C+K [While word is selected] ~C+F then next or ~C+K

~C+F then F3

this is for forward direction, to move backward, press ~S along with shortcut.

Last edited location






Android studio also enters intention action which is bit better than only quickfixes.

Format source



Organize imports



Search in project



For eclipse it opens window for java search, file search, task search, git search etc.

For AS it opens equivalent of project search

Search all reference in Java



AS gives much more structured detail in every file. Both needs at least something to be selected.

Go to next method


~A+Up or Down Arrow

Depends on direction

Go to line



AS gives option to go to specific position as well, 151:8 will lead to line no 151 position 8.

Go to end/Start of block


~C+[ (When @ end)


~C+] (When @ start)

If you are at start of the brace pressing ~C+[ will send you to parent opening brace.

When you are end of the brace pressing ~C+] will send you to parent’s closing brace

Delete whole line



~C+D in AS will copy whole selected block to down. If nothing is selected, it will copy whole line.







Extract as Variable



V – Local variable

P – Parameter to method

C – Constant

F – Field.

Choose whatever is needed.

Extract as method



Change method signature



This is it for today, In next post of the series we will study some common problems while installing and normal project structure.


2 thoughts on “The Android Studio Story : 1- A whole new world

  1. Pingback: The Android Studio Story 2: When the life begins. | Tech Bandhu

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s