Cannot compile release version of app
<p>I'm trying to export an apk to put in Google Play.  However, I get the error:</p>

<pre><code>Conversion to Dalvik format failed error 1
</code></pre>

<p>The leading answer to this problem seems to be:</p>

<pre><code>Go to Project » Properties » Java Build Path » Libraries and remove all except the "Android X.Y" (in my case Android 1.5). click OK. Go to Project » Clean » Clean projects selected below » select your project and click OK. That should work.
</code></pre>

<p>You can see I've done this here:</p>

<p>before 
<img src="http://i.stack.imgur.com/Uci8N.png" alt="before"></p>

<p>after 
<img src="http://i.stack.imgur.com/hKpUf.png" alt="after"></p>

<p>It should be noted that commons and signpost are jars I have used for the previous 5 releases and they have never given me a problem.</p>

<p>So, I attempted to export again and HURRAY!  It exported!</p>

<p>Not so fast.  As soon as I hit any code that requires those pieces I unchecked.  BOOM.  Crash.</p>

<p>So what do I do?  I don't understand.  These things have always been in my project and I have always been able to export with them.</p>

<p>I did do 3 things for this release that may have had an effect.</p>

<p>1)  I updated the <code>android:minSdkVersion</code> from 7 (2.1) to 8 (2.2).  Note from the image above that I am building with 2.2.  I have always built with 2.2 as my <code>android:targetSdkVersion</code> has been 8 for some time now.</p>

<p>2)  I updated my SDK and Android plugin.</p>

<p>3)  I linked to another project called Wheel as seen here:</p>

<p><img src="http://i.stack.imgur.com/EdK75.png" alt="Wheel"></p>

<p>Also, note that I don't have any of these problems in debug mode.  Problems only occur when I try to export a release version.</p>

<p>UPDATE:  I found <a href="http://android.foxykeep.com/dev/fix-the-conversion-to-dalvik-format-failed-with-error-1-with-adt-14" rel="nofollow">this</a> which describes the problem in greater detail.  The only problem with this is that I have no "Library Projects" folder in my project tree.</p>

<p>Here is a shot of my project tree:</p>

<p><img src="http://i.stack.imgur.com/B1nLu.png" alt="tree"></p>

<p>I have since removed the signpost jar files and added them back as external jars.  I have also removed facebook from the build path.  No solution.</p>
