We can start android develeopment in either Windows, Mac or Linux. Since most of us use Windows, I am going to show you how to setup Android Studio on Windows OS.
The required tools to develop Android applications are freely available and can be downloaded from the Web. These are the two essential softwares you will need before you start your Android application development.
1. Java JDK5 or later version
2. Android Studio
Setting up JDK, Android Studio, Android SDK and Emulator will take a lot of time and an active unlimted internet connection. So make sure you have both before proceeding. Follow each step carefully as each step is crutial.
Before attending the workshop, make sure that u complete the whole setup process, because it won't be possible during the workshop.
Following is the step by step process:
Getting Java Development Kit(JDK) and Android Studio
You can download the latest version of Java JDK from Oracle's Java site.
1. Go to
Java SE Downloads.
2. From here go to Java Platform JDK download.
3. Accept the License Agreement and download the JDK for windows.
You can download the latest version of Android Studio from Google's Developer site.
1. Go to
Android Studio download page.
2. Click on DOWNLOAD ANDROID STUDIO.
3. Click on the recommended Android studio bundle(which Includes Android SDK).
4. Accept the Terms and Condition and click download.
Setting Up Android Studio
Installing the JDK
Launch the downloaded JDK executable file. You will see something like the image below. Click 'Next'.
All the components as shown in the image below are necessary, the selected components will be installed. Development Tools, Source Code, Public JRE (Java Runtime Enviornment). Leave everything as it is and Click 'Next'.
Let the installer install JDK in your system.
You will see this image if JDK was installed successfully.
Installing the Studio
Launch the downloaded Android Studio executable file. Make sure, before you launch Android Studio, that your Machine has the required Java JDK installed. Steps to install Java JDK is here.
Check all the components, which are required to create applications, the image below has selected Android Studio, Android SDK, Android Virtual Device and Performance(maybe/may not be present).
Specify the location of local machine path for Android studio and Android SDK, the default location specified by windows will be C drive. Usually keep the sdk location to some short path(because we need to go here in the future), as shown in the image below.
Follow the rest of the instructions and let the setup complete.
After the setup is complete. You will see the Android Studio icon on your Desktop.
Setting Up Android SDK and Emulator
Setting up Android SDK
Go to your Android SDK location. Look for a SDK Manager and open it, you will see a window appear something like the image below.
Untick the 'Installed' and 'Obsolete' checkboxes and Check the 'Updates/New' checkbox. Now scroll down to Android 4.4.2(API 19). Open it and check all the options as shown in the image below. After chechking the given boxes, click on install packages.
A new window will appear, as shown in the image below. Select the 'Accept License' radio button and click install.
The SDK Manager will start downloading and installing the SDK tools. This will take a lot of time depending upon your internet speed. Sit back and let the download complete.
After the packages are done loading, you can proceed to setup your Emulator.
Setting up Emulator
Proceed furthur only if you have downloaded and completed the installation of Android SDK for API 19. Steps to setup SDK is here.
Go to your Android SDK installation location. Open AVD Manager. A window will open just like the image below. After openig the window, click on 'Create'.
A new window will appear which lets you specify the properties of the Emulator you want to create. Go ahead and fill it exactly as shown in the picture below. After filling everything up, click on 'Ok'.
An information dialog box will show up, showing all the properties of the newly created Virtual Device or Emulator. As shown in the image below. Go ahead and close it.
You will see a new AVD named Emulator, in the list of AVD Manager, we just created. Select the AVD and click on 'Start...'.
This dialog box will appear, this gives us an option to scale our AVD according to our requirements. We dont need to scale our AVD. So unceck the 'Scale display to real size'(if checked) and click 'Launch'.
The AVD Manager will launch the Emulator.
Booting up an AVD takes a lot of time, so sit back and let it slowly boot up.
If everything goes correctly, you will see the familiar home screen of Android. Congratulations! You have successfully created your Emulator.