Q:

Android send email causes Java.lang.NoClassDefFoundError

I am try to create an app which sends emails along with some attachments. For this I am using this code. But I am getting error Java.lang.NoClassDefFoundError. How can I solve this any help please. 

A:

First of all Make sure the JAR files are set to exported
 Project > Properties > Java Build Path > Order and Export

After that try cleanup your project by right clinking on you project >>source>>Cleanup
hope this will help.  

