From d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 3 Mar 2009 18:28:45 -0800 Subject: auto import from //depot/cupcake/@135843 --- docs/html/sdk/1.1_r1/upgrading.jd | 150 -------------------------------------- 1 file changed, 150 deletions(-) delete mode 100644 docs/html/sdk/1.1_r1/upgrading.jd (limited to 'docs/html/sdk/1.1_r1/upgrading.jd') diff --git a/docs/html/sdk/1.1_r1/upgrading.jd b/docs/html/sdk/1.1_r1/upgrading.jd deleted file mode 100644 index 2ad6757..0000000 --- a/docs/html/sdk/1.1_r1/upgrading.jd +++ /dev/null @@ -1,150 +0,0 @@ -page.title=Upgrading the SDK -sdk.version=1.1_r1 -@jd:body - - - -

This document describes how to move your development environment and existing -Android applications from an Android 1.0 SDK to the Android 1.1, Release 1 SDK. -If you are migrating applications from an earlier SDK, please read the upgrading -document available in the Android 1.0 SDK package. -

- -

To ensure that your applications are compliant with the Android 1.1 system available -on mobile devices, you need to install the Android 1.1 SDK and port your existing Android -applications to it. The sections below will guide you through the process.

- -

Installing the Latest SDK

- -

Download the SDK and unpack it into a safe location.

- -

After unpacking the new SDK and saving it an appropriate location, you should:

- - - - -

Update your ADT Eclipse Plugin

- -

If you develop on Eclipse and are migrating from an Android 1.0 -SDK, no update of the ADT plugin is needed — skip to Update your Eclipse SDK Preferences.

- -

If you are migrating from an earlier version of the SDK, you will -need to update the ADT plugin.

You may also want to upgrade your -ADT plugin when a new version becomes available for your existing version -of the SDK.

- -

The steps below describe how to update the ADT plugin to the latest -version available.

- - - - - - - -
Eclipse 3.3 (Europa)Eclipse 3.4 (Ganymede)
-
    -
  1. Select Help > Software Updates > Find and Install....
  2. -
  3. Select Search for updates of the currently installed features and click Finish.
  4. -
  5. If any update for ADT is available, select and install.
  6. -
  7. Restart Eclipse.
  8. -
-

Alternatively,

-
    -
  1. Select Help > Software Updates > Manage Configuration.
  2. - -
  3. Navigate down the tree and select Android Development Tools <version>
  4. -
  5. Select Scan for Updates under Available Tasks.
  6. -
-
-
    -
  1. Select Help > Software Updates...
  2. -
  3. Select the Installed Software tab.
  4. -
  5. Click Update...
  6. -
  7. If an update for ADT is available, select it and click Finish.
  8. -
  9. Restart Eclipse.
  10. -
-
- -

Update your Eclipse SDK Preferences

- -

The last step is to update your Eclipse preferences to point to the new SDK directory:

-
    -
  1. Select Window > Preferences... to open the Preferences panel. (Mac OSX: Eclipse > Preferences)
  2. -
  3. Select Android from the left panel.
  4. -
  5. For the SDK Location in the main panel, click Browse... and locate the SDK directory.
  6. -
  7. Click Apply, then OK.
  8. -
- -

Migrate Your Applications, if Necessary

- -

If (and only if) you have written apps in an SDK released previous to -the Android 1.0 SDK, you will need to migrate your applications. After -installing the new SDK and updating the ADT Plugin (if applicable), you -may encounter breakages in your application code, due to -framework and API changes. You'll need to update your code to match the -latest APIs.

- -

One way to start is to open your project in Eclipse and see where the ADT -identifies errors in your application. From there, you can lookup -specific API changes in the Android 1.0 APIs in the - -Overview of Changes and -API Diffs Report.

- -

If you have additional trouble updating your code, visit the -Android Developers Group -to seek help from other Android developers.

- -

If you have modified one of the ApiDemos applications and would like to migrate it -to the new SDK, note that you will need to uninstall the version of ApiDemos that comes -preinstalled in the emulator. For more information, or if you encounter an "reinstallation" -error when running or installing ApiDemos, see the troubleshooting topic -I can't install ApiDemos -apps in my IDE because of a signing error for information about how to solve the problem.

- -- cgit v1.1