Android sd card root directory is not accessible

mcniche

New member
Apr 19, 2018
1
0
0
Visit site
I have a class to list files and directories in external storage, it worked fine until three days ago, now is not working. When i set internal memory as default storage, it works fine, but when i set sd card as default storage, it does not show the files in /storage/sdcard01 (the list is empty). Another nested paths in sd card (by example /storage/sdcard1/Documents), it show the data fine, the problem is in the root file. The manifest's permissions are ok (the problem happens just three days ago), i checked and the sd is mounted, accessible, can read, can write. Mi android is 4.4 kitkat and three days ago, i generate the signed apk to upload to play store (it could be the cause?). Thanks.
 

B. Diddy

Senior Ambassador
Moderator
Mar 9, 2012
165,519
4,660
113
Visit site
I moved this from the Android Apps forum to the Software Development forum since the former is intended for developers to promote their apps. If you prefer, I can move it to General Help instead, but I figured this is more of a developer question.
 

Forum statistics

Threads
942,916
Messages
6,916,488
Members
3,158,736
Latest member
Dawncompton