I\'m calling for a separate class I have written in same package as my MainActivity class is saved. but when I run the application it gives me java.lang.NoCla
MainActivity
java.lang.NoCla
Right Click on your
project -> Build Path -> Configure Build Path -> Order and Export Tab.
Make sure that "Android Private Libraries" is checked for Export.
If you've added any libraries from the libs/ folder, remove them as they are automatically added in the "Android Private Libraries" section.