a building use ANT was failed

hello. sorry for my poor english.

It’s ok to build my cocos2d-x project on ADT eclips. a APK output is good for me.
but It’s fail to build it on ANT.
a command of ANT show messages like this:

BUILD FAILED
c:…build.xml:881: The following error occured while executing thid line:
c:
…build.xml:883: The following error occured while executing thid line:
c:…build.xml:895: The following error occured while executing thid line:
c:
…build.xml:290: The following error occured while executing thid line: null returned: 2

so, i try to examine build.xml file. but i only guess a phenomenon “build.is.instrumented” condition was failed.

I can’t guess why this happen. i feel like an idiot.
can i ask you a little bit of hint?

a….anybody T_T? plz….

i use ant for building projects and everything is ok for me. Try ant clean.

Below my build.xml

<?xml version="1.0" encoding="UTF-8"?>

thank you for reply. god bless you.

ant “clean” was successful.

ant Dsdk.dir=ANDROID_HOME clean
but “debug” was failed. It’s weird.
ant
Dsdk.dir=ANDROID_HOME debug

plz tell me what the fuck is Wrong

paste output?

and try this one.
http://www.vogella.com/articles/AndroidBuildAnt/article.html