Open tatiya4 opened 6 years ago
Hi,
The error is shown when library cannot access device storage size (ie. not readable). Make sure that storage is readable by other file explorers, if yes then, drop a comment here again.
The USB OTG is a feature I want to add but cannot find a good way to integrate it with the library. Since this type of storage is dynamic and can be connected at one time and can be removed at anytime, the cases to handle these are more and has to be handled correctly. I'll make sure to find a way and comment here if I start implementing.
I'm getting this on an Android 4.1.2 emulator.
Just a comment passing by. In my case, this exception appears as well when you don't ask for runtime permission dinamically on Android 6+.
So as mentioned in the README.MD
of this library:
Or you will see the message:
You may also want to add android:requestLegacyExternalStorage="true"
in your manifest file.
1 One of My Mobile Phone of Internal Storage shown in the dialog when i click on that the Message shows The Storage you have chosen is not accessible.My phone configuration is
DEVICE Device YUNICORN (YUNICORN) Manufacturer YU Device type Phone Device language English CPU make Mediatek CPU model MT6755M Native platform armeabi-v7a, armeabi, arm64-v8a RAM (MB) 4096 Screen size 1080 × 1920 Screen density (DPI) 480 OpenGL ES version 3.0 OS Android 6.0
2 i have also one question can we access usb drive from your storage chooser app i really need usb drive pl help me i am connecting usb drive using otg cable to the android device. as like path given by storage chooser app for storages can usb give that type of path or give me some link for reference.