I found the solution. Turns out it wasn't the shell complaining about a missing executable. It was the executable complaining about a missing library.
Here's the soluton at http://stackoverflow.com/questions/1943746/android-eclipse-plugin-cant-find-valid-paths You have to install ia32-libs: # Assuming you're on Ubuntu $ apt-get install ia32-libs On Sep 17, 2:53 pm, Richard Schilling <richard.rootwirel...@gmail.com> wrote: > I have all my paths and environment setup, but build.xml generated by > the Android SDK still can't find aapt even though it exists. Anyone > else seen this? > > Here's the console output: > > $ ant compile > Buildfile: build.xml > [setup] Android SDK Tools Revision 7 > [setup] Project Target: Android 1.6 > [setup] API level: 4 > [setup] > [setup] ------------------ > [setup] Resolving library dependencies: > [setup] ------------------ > [setup] Ordered libraries: > [setup] ------------------ > [setup] > [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml > (3) is lower than the project target API level (4) > [setup] > [setup] Importing rules file: tools/ant/ant_rules_r3.xml > > -dirs: > [echo] Creating output directories if needed... > > -pre-build: > > -resource-src: > [echo] Generating R.java / Manifest.java from the resources... > > BUILD FAILED > /usr/local/android/tools/ant/ant_rules_r3.xml:283: Execute failed: > java.io.IOException: Cannot run program "/usr/local/android/platforms/ > android-4/tools/aapt": java.io.IOException: error=2, No such file or > directory > > Total time: 1 second > $ ls -als /usr/local/android/platforms/android-4/tools/aapt > 3392 -rwxrwxrwx 1 richard richard 3472673 2010-09-17 10:19 /usr/local/ > android/platforms/android-4/tools/aapt > $ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en