Select to view content in your preferred language

Android classes not loading

1463
2
11-28-2012 03:30 PM
JonGelderloos
New Contributor
Hi, I just downloaded and installed the ArcGIS API SDK today and I am working through the hello world app. However, I am getting a bunch of errors because none of the android classes like Activity, String, Object are loading. It seems to be something with the build path and when I open up the project properties>Java Build Path, Order and Export tab I have an item that says "Unable to get system library for the project". I think this is my problem but I don't know how to fix it. If any can offer help on the situation it would be very appreciated. Thanks!
0 Kudos
2 Replies
AndyGup
Esri Regular Contributor
Make sure your project contains a reference to an Android library (right click project > Properties > Android and verify that a Project Build Target is checked)

If the project does contain a valid reference to an Android library, you may need to right click on your project > ArcGIS Tools > Fix project properties

-Andy
0 Kudos
JonGelderloos
New Contributor
Thanks for the response. I noticed everything was not loading correctly in the java build path. It seems my problem was out dated ADT I ended up uninstalling and re-installing and it fixed the problem.
0 Kudos