title: java.lang.NoClassDefFoundError on android
body: <p>i am doing an application-email sending without user interaction. so that i got coding from the following <a href="https://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-built-in-a/2033124#2033124">link</a>. here i got <strong>java.lang.NoClassDefFoundError</strong>: com.murali.email.GMailSender. i got this error at  </p>
  
  <pre><code>GMailSender sender = new GMailSender("username@gmail.com", "password");
                      sender.sendMail("This is Subject",   
                              "This is Body",   
                              "user@gmail.com",   
                              "user@yahoo.com");  
  </code></pre>
  
  <p>in the MailSenderActivity Class. i added all external jars in referenced library  and no error found at compile time. i spent more time to solve the issue but failed. i know it is possible of duplicate question but the other answers were not used for me. i guess me or eclipse miss some jar or class path for GMailSender class. please help me. i do not know how to solve it. </p>