Introduction

In this article, I have tried to address basic questions about the new Android development IDE, Android Studio.

What is Android Studio?

Android Studio is a new Android development environment launched by Google to make the Android programming much easier. This IDE is based on IntelliJ IDEA.
What does Android Studio offer?

What is IntelliJ?

IntelliJ is a commercial IDE complete with various features. It consists of a complete set of tools and integration and some most important modern technologies and frameworks such as Spring and Hibernate, necessary for effective Web and Java EE development.
Android Studio and IntelliJ:

What is Gradle?

Why is Android Studio better than Eclipse?

There is a lot of confusion about whether Eclipse is better or Android Studio. Well for me Android Studio is better since it provides so many more functionalities, is much more interesting and fascinating than Eclipse. However, I have seen some developers supporting Eclipse since they are quite comfortable with Eclipse since they have been working with Eclipse for 6-10 years. But I believe in moving forward with technology. You can encounter problems when you start using something new, out of your comfort zone, but then that is what is challenging and interesting. Besides, Android Studio provides many more tools and functions.
Are There Problems with Android Studio?

The basic components of a project made in Android Studio

1. Java code
Your project name->src->main->java. Then inside a package, you will find MainActivity.java that just sets the content view to the main activity layout fie
For creating more Java classes just right on the package->New->Java Class. Then name this Java file created.
2. XML layouts files
These files help you design your app. Like adding buttons, text fields etcetera.
Your project name->src->main->res->layout. You will find the default "activity_layout.xml" here that just defines a TextView displaying "Hello world!"
3. Drawables
All the external files to be used are to be placed here like any jpeg image, .mp3 file etcetera.
Your project name->src->main->res->drawable. Initially, it contains "ic_launcher.png". You can add other resources by simply copying the resources on the clipboard and then pasting them in drawable.
You will find many drawable folders, in other words, drawable-hdpi, drawable-xhdpi etcetera. These are for having a display in various sizes and on various devices.
4. Values
Used for formatting.
Your project name->src->main->res->values. This consists of "dimens.xml", "strings.xml", style.xml" by default.
"strings.xml" defines the various texts that will be used in your code. It is always recommended to use this file instead of writing the text then and there.
"dimens.xml" defines the various sizes that can be used in your code. This can help in resizing the various elements.
You can add other resources also. "colors.xml" is a resource that will be used very frequently in your code, to make your layouts attractive. You can define the various color codes in this file.
5. Manifest file
This file defines the names of the "activities" used in your code. If you forget to add the names of the newly created "activity" classes here, then you will not be able to view them while running your code.
Your project name->src->main->AndroidManifest.
Running+Debugging your code:
Shift+F10
Debugging your code:
Shift+F9
Emulator
Your project will run on the Emulator you chose.
AVD (Android Device) Manager->New. Fill in the details like AVD name, Device (Nexus 4, Nexus 10) etcetera.
Click here to download the Android Studio.
I hope this article has cleared some of your doubts about the new IDE. Please feel free to add something new to this discussion.
Thank you