In this tutorial, we see How to install Android Application Development kit with simple step by step installation guidelines. While going through this tutorial if you face any challenge, feel free to post your query in comment section bellow. We will try our best to resolve it as soon as possible.
Setting up Execution Environment for Android Kit :
Before to start to install Android Application Development kit, be ready with following Android Application Development kit. In case if you don’t have these tools, you can download which is available free on the internet. We have shared the downloadable link in every step for appropriate Android Kit.
- 1) Eclipse IDE
- 2) JDK
- 3) Android SDK
Note: If you want to install Android Application Development kit Online, you need Internet Connection and online Application Development kit Installer.
Step1: Install JDK (Java Development)
Java might already be installed on your machine. You can test this by opening a command prompt:
If Java is correctly installed, you should see information about your Java version install on your computer. If the command line returns the information that the program could not be found, you have to install Java.
Step2: Install Eclipse IDE
Eclipse IDE does not require any setup. It will require copying Eclipse IDE to any Drive on your computer. Then in that folder, find file “eclipse.exe”. Double click it. This will open Eclipse IDE as par the following screen.
If this screen does not show on your computer then you might need to download Eclipse.
Step3: Install Android SDK
You can download the executable installation file from Here.
After downloading, install it on your computer
- Launch the Android SDK Manager.
-On Windows, double-click the SDK Manager.exe file at the root of the Android SDK directory.
- Expand the list of packages for the latest Android platform.
- Select and download Samples for SDK.
When you open the Android SDK Manager, it automatically selects a set of recommended packages. Simply click Install to install the recommended packages. The Android SDK Manager installs the selected packages into your Android SDK environment. The following sections describe some of the available SDK packages and more about which ones we recommend you install.
Step4: Install ADT Plug-ins and Android SDK
- Help > Install New Software.
- Click Add, in the top-right corner.
- In the Add Repository dialog that appears, enter “ADT Plugin” for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/
- Click OK.
Note: If you have trouble acquiring the plugin, try using “http” in the Location URL, instead of “https”
(HTTPS is preferred for security reasons).
- In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
- In the next window, you’ll see a list of the tools to be downloaded. Click Next.
- Read and accept the license agreements, then click Finish.
If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK.
- When the installation completes, restart Eclipse.
Step5. Configuring ADT plug-in
- 1. Open Eclipse IDE
- 2. Select Menu Window > Preferences… to open the Preferences panel
- 3. Select Android from the left panel.
You may see a dialog asking whether you want to send usage statistics to Google. If so, make your choice and click Proceed.
- For the SDK Location in the main panel, click Browse… and locate your downloaded Android SDK directory (such as android-sdk-windows).
- Click Apply, then OK.
Step6. How to update ADT plug-in.?
- Select Help > Check for Updates.
If there are no updates available, a dialog will say so and you’re done.
- If there are updates available, select Android DDMS, Android Development Tools, and Android Hierarchy Viewer, then click Next.
- In the Update Details dialog, click Next.
- Read and accept the license agreement and then click Finish. This will download and install the latest version of Android DDMS and Android Development Tools.
- Restart Eclipse.
AVD ( Android Virtual Device)
The Android Development Tools (ADT) include an emulator to run an Android system. The emulator behaves like a real Android device (in most cases) and allows you to test your application without having a real device.
You can configure the version of the Android system you would like to run, the size of the SD card, the screen resolution, and other relevant settings. You can define several of them with different configurations. These devices are called Android Virtual Device.
How to Create AVD for Android?
- Open android SDK folder and find C:\Program Files\Android\android-sdk.
- Double click on AVDManager.exe
- Now Click on New and follow setting as shown in bellow image
Name Any which you want to give
SD card Size: Should be between 8 Mib to 1023 Gib
You can also set the Enabled flag for Snapshots.
This will save the state of the emulator and will let it start much faster now.
- Now in the window it will list all AVD which you create. Select Android First and click on start
The following shortcuts are useful for working with the emulator.
Alt+Enter Maximizes the emulator. Nice for demos.
Ctrl+F11 changes the orientation of the emulator.
F8 Turns the network on / off.
Get our Full android web application developement Tutorial:-