I rebuilt my project and got this error. I\'m unable to find where it\'s coming from. The full log is:
Caused by: jav
I've had the same problem. All I did was:
Your "File" type should reference to a FOLDER and not a FILE. Android Source Code does this:
if (!directory.isDirectory()) {
throw new IllegalArgumentException("Parameter 'directory' is not a directory: " + directory);
}
so you are passing a File variable that doesn't points to a Folder but a something else.