0

I copied the commons-io-2.6.jr into libs folder, and I've decompressed it. But the icon shows classes were locked. The FileUtils class can not be used. enter image description here

enter image description here

enter image description here

mrogal.ski
  • 5,828
  • 1
  • 21
  • 30

1 Answers1

0

You don't need to decompress the jar file to use it. Instead of using the jar, you can import the commons-io library through Gradle. Add this line in your app's build.gradle file:

dependencies {
    implementation 'commons-io:commons-io:2.6'
    // other libs...
}

If you really want to use the jar file, you can import your libs folder through Gradle as explained here.

Clyky
  • 247
  • 4
  • 14