Sanity check at runtime to provide appropriate error messages if the Ant version is not recent enough or the required build properties (sdk.dir and target) have not been specified.
Figure out the latest version of the Android build tools and use those so that the version doesn't have to be specified by the build.xml that uses the Antlib.