title: The name 'FileUtil' does not exist in the current context
body: <p>I am encountering the error- "The name 'FileUtil' does not exist in the current context" only when i am building my unity app for android but it runs fine without any errors when i run it in the editor. This line basically deletes a folder </p>
  
  <p>I have tried adding using System.IO; but it still isn't working. Also it works if I remove the line.</p>
  
  <pre><code>public void Delete()
  {
      P = EventSystem.current.currentSelectedGameObject.transform;
      FileUtil.DeleteFileOrDirectory(Application.persistentDataPath + "/ARPortal/"  + P.parent.gameObject.name);
      P.gameObject.SetActive(false);
      P.parent.GetChild(4).transform.gameObject.SetActive(true);
      counter = 0;
  }    
  </code></pre>
  
  <p>Is there any workaround or alternate to delete a folder.<a href="https://i.stack.imgur.com/EfKJ4.png" rel="nofollow noreferrer">Snippet ofthe error i am encountering</a></p>
  
  <p><a href="https://i.stack.imgur.com/KbOZ6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KbOZ6.png" alt="enter image description here"></a></p>