Want to setup android SDK and don’t know where to begin. In this article we will discuss about the installation of the SDK and creating a development environment for the first time. Installation of the android SDK provides you with tool to create mobile applications. The emulator present in it also allows you to run android on your computer.
Installing Android SDK
1. Go to your browser and open http://developer.android.com . Now, look for the available SDK packages and select the one for your platform. Check if your computer meets the minimum requirement for the installation of SDK and then download the suitable package according to your platform via your broadband or 3G connection.
The installer when runs for the first time will look for the JDK on your system. Make sure you have install JDK. If the installer doesn’t find JDK even if you have it installed on your system, and then don’t panic, just press the back button and then click on the next button, this solves the problem. Make sure that you have note down the location where you have installed android tools as this will be used later to configure Eclipse IDE plugin.
2. Once the installer has completed copying all the files in the target directory it will start the sdk manager automatically. The sdk manager then downloads the different version of the android and will allow you to select different version or releases to download. So, with this feature you can either download one release for example android 2.3 or you can opt for downloading all the versions. Selecting download all the files will let you download around 1GB of the release files. If you want to reduce its size select the important component to download.
The download window will appear showing the expected time to complete the download and all the files will be stored in the sub directory “platforms” in the main directory where your installed android tools.
3. Once all the android tool has been downloaded, we will need to create a virtual android device using the SDK manager. Inside SDK manager select virtual devices. Then select new to create new virtual device. Now you would be required to give memory value for the SD card. Give it around 256 mb that would be enough. Now, enable the snapshot feature, this will help you to restart the virtual machine faster.
4. Start the virtual machine you have created. The first time start is usually slower and it may take quite a time to start, sometimes up to 5min, so don’t panic and weight for some time. The next start will be faster. If you have enabled the snapshot feature, then then the startup process would be faster next time. Once android fully boots you will be presented with the android screen. Click on the grid icon on the center of the screen to see the list of all the pre-installed application. You can explore the settings panel or widgets.
Now you will need to shut down the emulator and the SDK manager, If you want to install eclipse android plug in.