android-file-chooser
android-file-chooser copied to clipboard
Can't list SD card content at all
I run on virtual device API 26, the SD card content is not listed. please help.
seems our FileUtil.getStoragePath()
broken, I need more time to check it and others
sorry to late reply.
About this issue, there are three points:
-
FileUtil.getStoragePath()
broken on some devices (virtual or physical). see also https://stackoverflow.com/questions/14796931/illegalargumentexception-in-statfs-in-webviewcore-internal-thread and more... - In newer Android SDKs, external storage volume directory is non-readable and non-listable on some devices (most of emulators).
- afc library v1.2.0 has targetSDK >= 28, see also android-9.0-changes-28#per-app-selinux, this might disallow one app access the folders outside its scope.
It should be useful to downgrade to android-file-chooser v1.1.x.
Any better solution on this?