title: Approach for fixing NoClassDefFoundError?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2247998/noclassdeffounderror-eclipse-and-android">NoClassDefFoundError - Eclipse and Android</a>  </p>
  </blockquote>
  
  
  
  <p>I'm seeing this question is getting asked a lot in many different contexts.  Perhaps we can set some strategies for locating and fixing it?  I'm noobish myself so all I can contribute are horror stories and questions, sorry...</p>
  
  <p>It seems this is thrown when a class is visible at compile time but not at run time... how can this happen?</p>
  
  <p>In my case I am developing an app that uses the Google APIs, in Eclipse, for the Android platform.  I've configured the Project Properties / Java Build Path / Libraries to include the  gdata .jars and all is well.  When I execute in the emulator I get a force close and the logcat shows a NoClassDefFoundError on a simple new ContactsService("myApp");  I've also tried a new CalendarService("myApp") with the same results.</p>
  
  <p>Is it possible or desirable to statically bind at compile time to avoid the problem?</p>
  
  <p>How could dynamic binding of an add-on library work in the mobile environment anyway?  Either it has to be bound into my .apk or else I need to "install" it? ... hmmm.</p>
  
  <p>Advice much appreciated.</p>