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
right click on project -> Properties-> Java Build Path -> Order and Export Tab and select your private libraries.
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.
In MainActivity class: import com.example.hcpandroid.SSLAuthenticate; Then After that if you have imported external library jar file import them to the LIB folder.
Right Click Your Project -> Properties -> Java Build Path -> Order and Export -> Select All -> Press OK -> go clean your project.
hope this solve your problem.