Build Your First Android App

Android Studio is the official Integrated Development Environment (IDE) for Google’s Android OS. It is specifically designed for Android development and built on JetBrains’ IntelliJ IDEA software. It came as a replacement for Eclipse Android Development Tool and now is the most popular IDE for Android development. It is available for Windows, Mac, Linux and Chrome OS. It is the best IDE for both beginners and professionals.

System Requirements

WINDOWS

  • Microsoft Windows 7/8/10 (32 bit or 64 bit)
  • Minimum 3GB RAM, 8GB recommended (plus 1 GB for the Android Emulator)
  • Minimum 2GB of available disk space, 4GB recommended
  • 1280 x 800 minimum screen resolution

MAC OS

  • Mac OS X 10.10 (Yosemite) or higher, up to 10.13 (High Sierra)
  • Minimum 3GB RAM, 8GB recommended (plus 1 GB for the Android Emulator)
  • Minimum 2GB of available disk space, 4GB recommended
  • 1280 x 800 minimum screen resolution

LINUX

  • GNOME or KDE desktop. Tested on Ubuntu 14.04 LTS, Trusty Tahr
  • 64 bit distribution capable of running 32 bit applications
  • GNU C Library (glibc) 2.19 or later
  • Minimum 3GB RAM, 8GB recommended (plus 1 GB for the Android Emulator)
  • Minimum 2GB of available disk space, 4GB recommended
  • 1280 x 800 minimum screen resolution
Read This: Become an Android Developer

Setup For Android Studio

Installation

Windows

  • Check for the respective system requirements
  • Install the windows version of Android Studio
  • Run the downloaded installer – You may watch a short video https://developer.android.com/studio/install – In “Choose Components”, select “Android Studio” and “Android Virtual Device” ⇒ In “Android Studio Installation Location”, accept the default “C:\Program Files\Android\Android Studio– Follow the on-screen instruction and accept the defaults to complete the installation. You need about 3-4GB of free disk space! Take note on the installation locations of “Android Studio” (by default “C:\Program Files\Android\Android Studio) and the “Android SDK” (by default c:\Users\username\AppData\Local\Android\Sdk).

Mac

  • Check for the respective system requirements
  • Install the Mac version of Android Studio
  • Launch the downloaded “.dmg” installation file – You may watch a short video https://developer.android.com/studio/install.
  • Drag and drop Android Studio into the “Applications” folder.
  • Note: If you see a warning that says the package is damaged and should be moved to the trash, go to System Preferences – Security & Privacy – under Allow applications downloaded from – select Anywhere. Then run again.
  • The “Android SDK” will be installed in “~/Library/Android/sdk” by default, where ~ denotes your home directory.

Linux

  • Check for the respective system requirements
  • Install the Linux version of Android Studio
  • Unpack the .zip file you downloaded to an appropriate location for your applications, such as within /usr/local/ for your user profile, or /opt/for shared users. If you’re using a 64-bit version of Linux, make sure you first install the required libraries for 64-bit machines.
  • To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute studio.sh.
  • Select whether you want to import previous Android Studio settings or not, then click OK.
  • The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.

You also have to install the latest JDK on your start before building Android Apps using Java.

Setting Up AVD

After making your app you will have to check how it will look on a real device. For this, we use the AVD – Android Virtual Device. You can learn how to setup AVD from here.

  • In Android Studio, select Tools > Android > AVD Manager, or click on the AVD Manager icon in the toolbar.
  • The AVD Manager screen shows your current virtual devices.
  • Click the Create Virtual Device button then click Next.
  • Select the desired system version for the AVD and click Next.
  • Choose a Release Name, must be Android 4.0.3 or higher, from the table and click Next.
  • Type in a Name for your emulator in the text box next to AVD Name.
  • After that you are good to go.

Now you are ready to make apps on your own. We hope this article helped you wish you good luck for your career in Android Development.