For Android Studio:
- File -> Project Structure… -> Dependencies
- Click ‘+’ in the upper right corner and select “Library dependency”
- In the search field type: “org.apache.commons.io” and click Search
- Select “org.apache.directory.studio:org.apache.commons.io:<X.X>
Or
Add implementation 'org.apache.directory.studio:org.apache.commons.io:2.4 to the build.gradle file