title: Multiple dex files - Conversion to Dalvik format failed - Unable to execute dex
body: <p>I have 2 app versions - pro and lite.  They are both already on the market at v1.01.  I am trying to release v1.1 for both.  This update includes SwawrmConnect integration in order to use their global leaderboards.</p>
  
  <p>I should start off by saying I know I am not maintaining my code correctly.  I have 2 completely separate apps and that share probably 90% of their code.  I maintain them separately because after a week or 2 or 3 of failing to figure out how to do a library and share code, I gave up and just went this way with it.</p>
  
  <p>SwarmConnect is the first jar I have used and had to make a library to two apps (see screenshot of file structure below).</p>
  
  <p>Right now my lite version is working and is ready for release.  I am now trying to get my pro version to where it needs to be for release.  I am fairly certain all java/xml files are up to date and ready.  When I went to run the pro version in the emulator, I get the below error:</p>
  
  <pre><code>[2013-04-18 11:24:41 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/swarmconnect/loopj/android/http/AsyncHttpResponseHandler;
  [2013-04-18 11:24:41 - BibleTriviaPro] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/swarmconnect/loopj/android/http/AsyncHttpResponseHandler;
  </code></pre>
  
  <p>Things I've tried:</p>
  
  <ul>
  <li>Clean/rebuild</li>
  <li>Update Eclipse</li>
  <li>Delete bin and gen folders</li>
  <li>Restart Eclipse</li>
  <li>Plus some other stuff</li>
  </ul>
  
  <p>My file structure:</p>
  
  <p><img src="https://i.stack.imgur.com/4zHBk.png" alt="enter image description here"></p>
  
  <p>Could the problem be is I am trying to use SwarmConnect as a library for 2 projects (lite and pro)?</p>
  
  <p>EDIT:</p>
  
  <p>Below is the file structure for the lite version that is working perfectly.  Compiles and runs on emulator.</p>
  
  <p><img src="https://i.stack.imgur.com/7fD14.png" alt="enter image description here"></p>