How to diagnose "Error executing aapt" error in Eclipse?
<p>I'm ready to tear my hair out because I can't get Eclipse unstuck from a state where it thinks it can't find aapt:</p>

<pre><code>Error executing aapt. Please check aapt is present at /usr/local/android-sdk-linux_x86/platform-tools/aapt
</code></pre>

<p>I've found a bunch of posts on this subject, which suggest deleting the error in the Eclipse UI, deleting R.java, rebuilding the project, restarting Eclipse, etc.  These things help temporarily, but as soon as I edit an XML file, Eclipse gets borked again.  It's getting really annoying to rebuild all my source and restart Eclipse every time I change an XML file.</p>

<p>aapt is clearly there:</p>

<pre><code>$ ls -l /usr/local/android-sdk-linux_x86/platform-tools/aapt
-rwxr-xr-x 1 boris boris 3764858 2011-07-28 11:50 /usr/local/android-sdk-linux_x86/platform-tools/aapt
</code></pre>

<p>Is there a way to know exactly what the error is that's occurring?  I tried looking in the Eclipse console output and in .metadata/.log in my project and didn't see anything related.</p>
