Previous  | Next  | Home

Updating Software


 

Since Android is a rapidly evolving platform, it is important to maintain current software. You should update your installation periodically by first checking for Eclipse updates and then for updates to the Android SDK.

 

Updating Eclipse

To update Eclipse, select Help > Check for Updates. In the resulting dialog window select the updates to install, as illustrated in the following figure.



You will probably want to install all Eclipse and Android updates. Review and confirm the updates, and then click Next. Check to accept any licenses on the next screen, and then click Finish. Wait for updates to install (may take some minutes, and you may have to agree to accept unsigned certificates). Once the udates are installed, restart Eclipse.

 

Updating the Android SDK

To update the Android SDK, open Eclipse and select Window > Android SDK and AVD Manager. In the resulting window, choose in the left panel Select Available Packages. A list of available packages will appear in the right window (corresponding to packages that are not already installed; already installed packages can be viewed by selecting Installed Packages in the left panel). The following figure illustrates.



In this example, a new revision of Android 2.2 and an Android Market licensing package are indicated as being available. If there are updates to install, select them, click Install Selected, and accept anything required (there may be a list of dependencies that you have to agree to). It may take some minutes to install the updates if they are extensive.

Note: After installing SDK updates, you should click Installed Packages to confirm that the updates have been installed, and then check again to see if there are now new updates dependent on the ones just installed. In the above example, the documentation for Revision 2 of Android 2.2 appeared in the Select Available Packages window only after installing Revision 2 of the SDK.


Previous  | Next  | Home