Wednesday, June 01, 2011

Android "SetupTask cannot be found" error

I recently checked in an android project, and when I checked it out elsewhere to check it over, I got the following error when trying to build it with "ant debug" per the command-line build instructions:
taskdef class cannot be found
 using the classloader AntClassLoader

The solution was to run "android update project --path ." to update the project to work in the new location.

No comments: