title: Android java.lang.NoClassDefFoundError
body: <p>I have an Android project in eclipse IDE which was working.  After some imports and tests, I get the error: <code>java.lang.NoClassDefFoundError</code>.</p>
  
  <p>In my project I have two packages: the main one and the second one with some classes.</p>
  
  <p>When I try to instantiate an object from the second package class in the main activity class, I am getting this error.</p>
  
  <p>Here is the logcat:</p>
  
  <pre><code>FATAL EXCEPTION: main
  java.lang.NoClassDefFoundError: com.neurospeech.wsclient.MDPIforEditorialBoard
  at milos.mdpi.Journals.&lt;init&gt;(Journals.java:41)
  at java.lang.Class.newInstanceImpl(Native Method)
  at java.lang.Class.newInstance(Class.java:1409)
  at android.app.Instrumentation.newActivity(Instrumentation.java:1040)
  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1777)
  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1893)
  at android.app.ActivityThread.access$1500(ActivityThread.java:135)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1054)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:150)
  at android.app.ActivityThread.main(ActivityThread.java:4389)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:507)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
  at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p><strong>Found the solution to my problem:</strong></p>
  
  <p>The solution can be found here: <a href="http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17">http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17</a></p>