Try following steps:
-
remove the faulty director(y|ies) as follows:
$ rm -fR $(find . -type d -name crunch|xargs)
-
when you are building, run
$ ant clean release
-
then, clean->Build Project and:
$ rm -fR $(find . -type d -name crunch|xargs)
Source: Android Open Source Project