Tutorial details

Android Studio: Getting started with the new Android IDE | App Code for Sale | Preview

Android Studio: Getting started with the new Android IDE | Android Tutorial

How to install Android Studio, as well as creating and Launching a new Android Project with it

Overview PAGE TOP

In May 15th, during Google’s I/O developer conference, a new developer suite called Android Studio was announced. It is a very powerful IDE based on the famous IntelliJ IDE. Android Studio offers a lot more options for Android Developers on top of InteliJ’s fantastic features and deep code analysis. And it seems that it is aimed to the Android Professionals that want to make the process much faster and be more productive in general.

In this example we are going to see how to install Android Studio, as well as creating and Launching a new Android Project with it.

1. Download and Install Android Studio PAGE TOP

Android Studio comes with everything you need in order to start developing Android Applications instantly. If you already have Android SDK Manager and Android Virtual Devices (AVD) already installed, that’s fine; it will work with those, no problem whatsoever.

Go to the home page of Android project to download the Bundle for your platform:

1   http://developer.android.com/sdk/installing/studio.html

kolai.JPG

The Installer will install Android Studio 0.1.1, and you can update it later from inside the application.

When the download is finished, launch the installer:

26.JPG

And specify the installation folder:

jui.JPG

When the installation is finished check the option to Start Android Studio and click Finish:

asbes.JPG

2. Create a new Android Project PAGE TOP

When Android Studio launches it will prompt you if you want to import settings from a previous installations ( I guess that this would apply for previous installation of IntelliJ with or without the Android Bundle …).

ro.JPG

After that step, you will find yourself in Android Studio Quick Start Window. You can specify many settings and configuration options from there, but let’s go ahead and select “New Project”:

paas.JPG

Then you have to specify the Project Name, the main Package Name, as well as the target platforms and also the Theme of the application. You can also choose to create a new Activity and select a custom Launcher Icon:

bara.JPG

Then you can select and customize your Launcher Icon:

loli.JPG

Now you can create a new blank Activity for your project.

tubai.JPG

You have to specify a Name for the activity and the corresponding Layout XML file Name.

kore.JPG

All the above should seem familiar, if you’re using Eclipse IDE for Android Development.

4. Run the Application PAGE TOP

After clicking finish you will find yourself in the IDE. This is how it looks like:

valo.JPG

Now you can select Help -> Check For Updates to update Android Studio to the latest available version.

You can go ahead and click the Run Button to run your application. You will be prompt to choose the device you want to install your Application to. I have already installed AVDs in my system so I can work with those. This should come really handy when you have multiple real devices connected to your system and you want to install and run the applications on them as well:

ekta.JPG

5. Live layout Editing PAGE TOP

One of the most impressive characteristics (at first glance …)of this IDE is the new live layout editing where you can preview your user interface in a number of real devices , both smartphones and tablets, on the fly as you are editing the code. You can also choose to preview your code in different orientations. It looks and works great:

swar.JPG

6. Video PAGE TOP

This is a video with a small preview of Android Studio’s numerous features:

(http://www.youtube.com/watch?feature=player_embedded&v=e0fXuyL0xVU "Video")

7. Download the Android Studio Project PAGE TOP

Download the Android Studio Project of this tutorial: HelloAndroidStudioProject.zip

8. Conclusion PAGE TOP

This was just an introduction to Android Studio that will get you up and running with Android Studio. I’m sure that there are tons of features to explore. Hope you are excited with Android Studio!

Reference PAGE TOP

http://www.javacodegeeks.com/2013/06/android-studio-getting-started-with-the-new-android-ide.html

0 Comments Leave a comment

Please login in order to leave a comment.

Newest first
!

Sign-in to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.