Monday, June 20, 2011

Installing the preferred API in Android SDK

You must be eagerly waiting till my Post on How to install a preferred Android API. Well, you've got 2 options.

1. Install it via Eclipse (Not recommended)

Go to Windows -> Android SDK and AVD Manager
You will get the following window
Select Available packages (Figure 1 - #1)
Check "Android Repository"(Figure 1 - #2)

Figure 1


Select the API you want to install

Click "Install Selected"

Figure 2
When you get the following window, click Accept (Figure 3 - #1) and Install (Figure 3 - #2)

Figure 3
This is not recommended, because downloading and installing process requires killing adb.exe process. The attempt might not be successful if eclipse is open. Therefore it will not be installed properly.

2. Install it via SDK Manager (Recommended)

Find "SDK Manager.exe" in My Computer
(Ex: C:\Program Files (x86)\Android\android-sdk)

Run SDK Manager.exe as Adminstrator.

You will get the Figure 1 window straight away.

Follow the same procedure described above.

No comments:

Post a Comment