title: Android Project Dependencies
body: <p>I need help with a project dependency issue in the Android SDK.</p>
  
  <p>I have the following projects:
  "Sync" (a Java only project)
  "Agonis" (an Android Library project)
  "Dragonis" (an Android application project)</p>
  
  <p>Agonis has a project dependency on Sync, and Dragonis has a project dependency on Agonis, like so:</p>
  
  <p>Dragonis->Agonis->Sync</p>
  
  <p>I have correctly used the Properties->Android->Library dialog to add Agonis as an Android Library. I have exported the Sync project in the Agonis build path setup:</p>
  
  <p><a href="http://i.stack.imgur.com/GsQIR.png" rel="nofollow">http://i.stack.imgur.com/GsQIR.png</a></p>
  
  <p>In the Dragonis project, I see both Agonis and Sync in the "Android Dependencies" virtual folder:</p>
  
  <p><a href="http://i.stack.imgur.com/EhH8L.png" rel="nofollow">http://i.stack.imgur.com/EhH8L.png</a></p>
  
  <p>From here, I would expect everything to just work, but it doesn't.</p>
  
  <p>I can start the app, but as soon as I instantiate a type from the Agonis project (com.mob.agonis.AgonisServer), I get a NoClassDefFoundError. If it matters, the Agonis type I am trying to instantiate extends a type that is in the Sync project (com.mob.sync.Server).</p>
  
  <p>I tried cleaning all the projects, and using Android Tools->Fix Project Properties on both Agonis and Dragonis to no avail.</p>
  
  <p>Am I overlooking something?</p>