1

I want to create a simple FTP Server in Android. I tried some libs (SimpleFTP, SwiFTP, ..) but I want to use the Apache FTPServer.

I read Apache Ftp server integration with Android and writing a java ftp server but the problem I have is that my phone crashes at the first line:

FtpServerFactory serverFactory = new FtpServerFactory();

How can I solve that?

I have set the permissions:

<uses-permission android:name="android.permission.INTERNET" />

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Android Version:

android:minSdkVersion="8"

Thanks a lot.

Community
  • 1
  • 1
Jan Knoblauch
  • 219
  • 1
  • 3
  • 20

1 Answers1

1

Remove Build path and select all libraries in libs then right click -> Build Path -> build these jars. Done. (simply remove build and renew build).

Strikerz
  • 31
  • 5