I am lately having problems with a build process that has been working for months now - I may have updated the Android build tools since the last working build, but I am not sure.
In any case
ant -Dsdk.dir=$ANDROID_HOME -Djava.source=7 -Djava.target=7 clean release
is failing with the following message:
/home/dmta/development/android-sdk-linux/tools/ant/build.xml:694: Execute failed: java.io.IOException:
Cannot run program "/home/dmta/EclipseProjects/MyProject/Hawk/${aapt}"
(in directory "/home/dmta/EclipseProjects/MyProject/Hawk"): error=2,
No such file or directory
Where Hawk is a library project I am using.
What could be wrong here?
I can build the program from Eclipse but I need to use the ant build for proguard.
the AAPt location is changed in the latest update. Copy the lib/dx and aapt : these two files back to platform-tools. Also try adding the tools path if not there already, example: