admin管理员组

文章数量:1406177

I'm using an Android API 35 Google Play image emulator, and put some mp3s in the Music folder of the SD card. However, Directory('/sdcard/Music').listSync() only returns the '.thumbnails' directory and nothing else.

I have the READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions, and have gone through Permission.storage.request() and Permission.mediaLibrary.request(). I'm not sure what more I can do to see the files and not just the .thumbnails directory ?

Edit : Note that I've also tried with /storage/self/primary/Music and /storage/emulated/0/Music since in the device explorer, the files show up on these paths too.

本文标签: androidDirectorylistSync only returns thumbnails and not the filesStack Overflow