Open gtuceturan opened 2 years ago
Hello I'm using
ExtStorage.getExternalStoragePublicDirectory(ExtStorage.DIRECTORY_DOCUMENTS)
String fileDrc=await ExtStorage.getExternalStoragePublicDirectory(ExtStorage.DIRECTORY_DOCUMENTS); final path= Directory( fileDrc+ "/Reports");
if (!(await path.exists())) path.create();
but I get error
FileSystemException: Creation failed, path = '/storage/emulated/0/Documents/Reports' (OS Error: No such file or directory, errno = 2), stack trace: #0
Hello I'm using
ExtStorage.getExternalStoragePublicDirectory(ExtStorage.DIRECTORY_DOCUMENTS)
String fileDrc=await ExtStorage.getExternalStoragePublicDirectory(ExtStorage.DIRECTORY_DOCUMENTS); final path= Directory( fileDrc+ "/Reports");
but I get error
FileSystemException: Creation failed, path = '/storage/emulated/0/Documents/Reports' (OS Error: No such file or directory, errno = 2), stack trace: #0