title: Why the folder is not created in the internal storage of some android devices?
body: <p>I have created a folder in the internal storage for storing files. But the issue is the folder is not created in some Android devices. The folder is created in lollipop devices but not in oreo and nougat. </p>
  
  <ul>
  <li>What is the problem? </li>
  <li>Is there any additional permission is needed for higher level API? </li>
  </ul>
  
  <p>The code for creating a folder in internal storage</p>
  
  <pre class="lang-java prettyprint-override"><code>File f1 = new File(Environment.getExternalStorageDirectory(), Constants.STORED_FOLDER);
  if (!f1.exists()) {
    f1.mkdirs();
  }
  Log.e("check_path", "" + f1.getAbsolutePath());
  </code></pre>
  
  <p>Also, I have another query on how to make the folder visible in the gallery. </p>
  
  <p>It is not visible in the gallery? How to solve this issue?</p>