Skip to content Skip to sidebar Skip to footer

Android FTP Upload Error: NoClassDefFoundError

I got this ftp upload method: try { SimpleFTP ftp = new SimpleFTP(); // Connect to an FTP server on port 21. ftp.connect('ftp.atw.hu', 21, 'username', 'password');

Solution 1:

The SimpleFTP class obviously cannot be found.

You should check your classpath (project properties > Java build path):

  • In the Libraries tab: add the corresponding jar
  • In Order and Export: check the jar so that it's exported

Post a Comment for "Android FTP Upload Error: NoClassDefFoundError"