i am doing an application-email sending without user interaction. so that i got coding from the following link. here i got java.lang.NoClassDefFoundError: com.murali.email.GMailSender. i got this error at
GMailSender sender = new GMailSender("username@gmail.com", "password");
sender.sendMail("This is Subject",
"This is Body",
"user@gmail.com",
"user@yahoo.com");
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.
Make sure the jar sits in a folder named libs, not lib. Then perform “clean” and make sure the jar appears under Android dependencies.