5 Jan 2013

Acquiring the Android SDK

Android SDK is composed of a debugger, Android libraries, a device emulator, documentation, sample code, and tutorials. You can’t develop Android apps without it.

Downloading the Android SDK :
To download the Android SDK, follow these steps:

1. Point your browser to http://developer.android.com/sdk/index.html.

2. Choose the latest version of the SDK starter package for your platform.

3. Extract the SDK.

I recommend extracting to c:\android because I reference this location later in this Blog. You’ve just downloaded the Android SDK.

4. Navigate to the directory where you extracted the SDK, and doubleclick SDK Setup, as shown in Figure:

Android SDK

5. If you’re prompted to accept the authenticity of the file, click Yes. The Android SDK and AVD Manager dialog box opens.

6. Select the SDK Platform Android 2.2 check box. For the purposes of this book, select version 2.2, as shown in Figure.

Android SDK


Every time a new version of the Android OS is released, Google also releases an SDK that contains access to the added functionality in that version. If you want to include Bluetooth functionality in your app, for

example, make sure that you have Android SDK version 2.0 or later, because this functionality isn’t available in earlier versions.

7. Click Install Selected. The Choose Packages to Install dialog box opens.

8. Select the Accept radio button to accept the license and then click Install (see Figure).

Android SDK


9. In the next dialog box, select Accept and click Install.The Installing Archives dialog box opens, displaying a progress bar (see Figure).

Android SDK


10. When the archives installation is complete, click the Close button. While the Android SDK is attempting to connect to the servers to obtain the files, you may occasionally receive a Failure to fetch URL error.

If this happens to you, navigate to Settings, select Force https://... Sources to be Fetched Using http://, and then attempt to download the available packages again.

No comments:

Post a Comment