Sunday, March 25, 2012

Dealing with dependencies in ArcGIS Android projects and ADT v17

Revision 17 of the Android SDK and Eclipse ADT Plugin includes major changes to the dependency management of Android projects and will break existing ArcGIS Android SDK projects.? The reason for this is Android projects in Eclipse no longer adds dependencies from User Variables.? Since this is a deployment issue in our design you may not at first recognize the issue as your projects will not show any problems.? When you attempt to deploy your project from within Eclipse or as an exported APK file you will notice your app crashes. ? Fortunately there is a simple fix:

  1. Click on your ArcGIS for Android project
  2. Select Properties
  3. Select Java Build Path
  4. Select Order and Export
  5. Check all the ARCGIS_FOR_ANDROID resources

Here is a screenshot of how the Order and Export tab should look.

Now you just need to update your project to r17 specs.

  1. Click on your ArcGIS for Android project
  2. Select Android Tools > Fix Project Properties

That?s it, your app should now work as expected.? We are working to address this in our upcoming release of the ArcGIS Runtime SDK for Android v1.1 expected in couple of weeks.

Source: http://blogs.esri.com/esri/arcgis/2012/03/23/dealing-with-dependencies-in-arcgis-android-projects-and-adt-v17/

louisville hunger games syracuse ohio state dancing with the stars rob dyrdek michael oher

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.