Skip to content Skip to sidebar Skip to footer

Android Studio Library Of Ftp Fail To Import

After i put commons-net3.3 into libs, but i still cannot import import org.apache.commons.net.ftp.FTP; import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.f

Solution 1:

Just add into gradle

 dependencies {
    implementation 'org.kie.modules:org-apache-commons-net:6.5.0.Final'
}

Solution 2:

i solved in this way: copy commons-net-3.3.jar in libs folder of you app, after Open File->ProjectStructure->Dependencies, on bottom plus button add "File dependency" and select the library. Now you should be able to import library class in your activity.java properly

Post a Comment for "Android Studio Library Of Ftp Fail To Import"