The problem
I was creating a build server for an Android project on a remote web host run by Webfaction, but I was running into a problem when running the ant scripts. I had installed the Android SDK in my home directory according to these instructions, but running ant clean debug threw this error:
1 |
Execute failed: java.io.IOException: Cannot run program "/home/stevehb/bin/android-sdk-linux/build-tools/20.0.0/aapt": java.io.IOException: error=2, No such file or directory |
I checked, and /home/stevehb/bin/android-sdk-linux/build-tools/20.0.0/aapt existed. I couldn’t see a reason that ant couldn’t find it, so I eventually tried to run it myself.
Continue reading →