FilePicker icon indicating copy to clipboard operation
FilePicker copied to clipboard

External Storage not showing

Open Mohammad-Adam opened this issue 5 years ago • 3 comments

firstly thank you for your work; secondly i can't see the external sd card; thirdly can you show file size?

Mohammad-Adam avatar Aug 03 '20 04:08 Mohammad-Adam

Hi, First of all, thank you so much for your work !

I am facing a small problem can you please help me with it. I am not able to view the files on my phone. I have made sure that i have used all the required permission in manifest file.

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

Here the screeshot of error. All the folders are empty and i am not able to view any other folders apart from these. And i know for sure that there are lot of folders under /mnt directory.

Screen Shot 2021-02-12 at 5 14 09 PM

Thanks and advance !

slim-shah avatar Feb 12 '21 23:02 slim-shah

Problem solved!

I was working on someone else's code and did not check the manifest file. The manifest file was missing the following code snippet.

<manifest ... >
  <!-- This attribute is "false" by default on apps targeting
       Android 10 or higher. -->
  <application 
       android:requestLegacyExternalStorage="true" ........ >
    ......
  </application>
</manifest>

I solved this error after reading the readMe file.

slim-shah avatar Feb 12 '21 23:02 slim-shah

I have tried to solve this issue. But not exactly getting it. I'm still trying to solve this issue.

TutorialsAndroid avatar Mar 27 '22 12:03 TutorialsAndroid

New update release to this library update to version v9.0.1 and see the android 13 documentation in README.

TutorialsAndroid avatar Sep 05 '23 20:09 TutorialsAndroid