Upgrade ArcGIS Projects to SDK 1.1

We have changed the way we integrate our java libraries in our Eclipse SDK plugin projects from environment variables to library classpath container. In this approach we group our libraries under a single logical classpath entry. Follow the steps below to upgrade your existing ArcGIS Android projects from SDK 1.0.1 to SDK 1.1.

Upgrade ArcGIS Android Projects to SDK 1.1

  1. In Eclipse right click on your 1.0.1 project and select Properties.
  2. In the Properties dialog select Java Build Path. .
  3. Select the Libraries tab.
  4. Select all the libraries labeled ARCGIS_FOR_ANDROID and click Remove.
  5. Click on the Add Library button. .
  6. In the Add Library dialog select ArcGIS for Android Library Container and click Next >. .
  7. A dialog opens detailing the libraries that will be added to your project. Click Finish to update your project.
  8. In the Properties dialog click on the Order and Export tab.
  9. Check ArcGIS for Android 1.1 and Click OK to return to your project.

Now we have our Java libraries updated. Final task is to update our native libraries. This is done with the following manual steps below:

  1. In Eclipse create a new project.
  2. Copy the contents of the new projects libs folder to your existing projects libs folder.

This completes all the migration steps to update your projects libraries to the latest version.

Here is what your project properties look like when first upgrading to SDK v1.1

We have added a classpath container library called ArcGIS for Android Library Container.

Our library container has all the required libraries bundled inside.

Project updated to use the Library Container feature of SDK v1.1

Once you have updated your Project Properties you should be able to continue working with your existing projects.

5/31/2012