android - isExternalStorageRemovable throws Illegal exception even if SD card is attached with device -


i got paths application using getexternalfilesdirs api. after each file calling isexternalstorageremovable(file_name) check whether storage removable or not. throws exception: java.lang.illegalargumentexception: failed find storage device @ _given_path_

what possible reason this. sd card still inserted in device only.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -