working with android virtual device | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

working with android virtual device

I'm trying to save file to external storage in virtual device and can't create the needed directories. SD seem to have some problam. someone faced something like it?

9th Sep 2017, 10:21 PM
ofir semel
ofir semel - avatar
2 Answers
+ 1
thanks for the answer. unfortunatly, it doesn't contain the needed info.
11th Sep 2017, 5:27 PM
ofir semel
ofir semel - avatar
0
the problem was not solved, but i found that i also stop the creation of the file if ( !folder.mkdirs() ) and it fails once folder exists. I also need to add condition for folder exists- if (!folder.mkdirs() || !folder.exists())
11th Sep 2017, 5:35 PM
ofir semel
ofir semel - avatar