title: how to use getFile() method in FileUtils android ? Cannot resolve method 'getFile' in 'FileUtils'
body: <p>I have tried the solutions mentioned in this <a href="https://stackoverflow.com/questions/38417848/cannot-resolve-symbol-fileutils-in-codepath-todo-app-tutorial-android">question</a> but nothing is working for me.</p>
  <p>I have imported the FileUtils <code>import android.os.FileUtils;</code></p>
  <p>I have included <code>implementation 'org.apache.commons:commons-io:1.3.2'</code> in my Gradle build, not working.</p>
  <p>I have tried with <code>implementation 'commons-io:commons-io:2.4'</code>, still not working
  I have synced the Gradle after adding the implementation in dependencies.</p>
  <p>but it does not works for me.</p>
  <p>then when I tried putting <code>compile 'org.apache.commons:commons-io:1.3.2'</code> in my dependencies, the Sync results in Error.</p>
  <p>What am I missing here?</p>
  <p>Here is the relevant code :</p>
  <pre><code>    public void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
  
      if (requestCode == PICK_IMAGE) {
          fileUri = data.getData();
          File file = FileUtils.getFile(this, fileUri);
  
          if (fileUri != null &amp;&amp; &quot;content&quot;.equals(fileUri.getScheme())) {
              Cursor cursor = this.getContentResolver().query(fileUri, new String[]{MediaStore.Images.ImageColumns.DATA}, null, null, null);
              cursor.moveToFirst();
              filePath = cursor.getString(0);
              cursor.close();
          } else {
              filePath = fileUri.getPath();
          }
  
          String absensiId = edtUAId.getText().toString().trim();
  
      }
  }
  </code></pre>