As we know Android world is increasing day by day. Billions of Android apps has been published on Google Play store. So it is the need of time that we should learn some basics of Android development. Android Studio is an IDE (Integrated Development Environment) for Android application development.
Features of Android Studio
Following are some interesting features of Android Studio:
- It provides a flexible Gradle-based build system.
- It also support C++ and NDK
- Run your app without building a new APK.
- Provides a virtual device to run and test your app
Follow steps below for complete installation and configuration of Android Studio.
Step 1) Download Android Studio
You can download Android Studio from this link or go to developer.android.com homepage and search for downloads. Choose appropriate platform either for windows, mac or linux. Following are the pre requirements for windows operating system.
- Microsoft windows 7/8/10 (32 or 64 bits)
- Minimum 3GB RAM (recommended 8GB)
- 2GB disk space
- 1280 x 800 minimum screen resolution size
- Intel processor for accelerated emulator
- Android SDK
Note: If you don’t have Android SDK, you can download with Android studio. Go to the end of download’s page and find android-studio-bundle-162.4069837-windows.exe it includes SDK also.
Step 2) Run .exe file
Step 1: Run .exe file
Click next and select Android SDK checked if you don’t have it already. Better is to leave the default settings.
Step 2: Choose components
Step 3: Accept license
Next step is to set location of installation. Please make sure your disk has minimum required space before clicking on Next. For Android Studio installation location must have at least 500MB free space. For Android SDK installation, selected location must have at least 3.25GB free space.
Step 4: Install location
Step 5: Choose start menu folder
And hit Install button.
Step 6: Finish
Step 7: Android Studio Splash Screen
Step 3) Configure Android Studio
Step 8: Import settings
If you don’t have any previous settings click on the second option (I don’t have a previous version of Studio or I don’t want to import my settings).
Step 9: Select theme
Step 10: Download components
Step 11: Done
Click on Finish and start building your Android apps.
Introduction to Android Studio User Interface
Android Studio is an Integrated Development Environment (IDE). You have seen download and installation in this tutorial. Let’s learn some basics of Android Studio. Here is the a screenshot of a running Android studio.
Android Studio screen
Red mark shows
1: Tool bar- It is collection of many tools like cut, copy, paste, run debug and others.
2: Navigation bar- It helps you to navigate through the recent open files of your project.
3: Project hierarchy- It is the hierarchy of your project’s folders.
4: Component Tree- It shows component used in an activity in the form of a tree structure.
5: Properties window- It shows properties of selected item on the screen.
6: Layout editor- It shows graphical layout, how your app will look like.
7: Palette window- Palette window shows component, layouts, and widgets available in Android Studio.