I have build a Java appliction which is using ant.jar (ant 1.8.2) classes for building android application from it's build.xml file with release as target. My Android project has been built by using android create project command, using sdk 2.2. When I run my application for building the Android application I get the following message -
build.xml:46: taskdef class com.android.ant.SetupTask cannot be found
I have verified the sdk.dir path and the sdk-location path and both are correct.
How it can be solved?
Thanks, Eyal.
You need to update the project:
android update project --path .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With