Android 文件系统不再像以前那样工作

Android 文件系统不再像以前那样工作,android,ios,mobile,cordova,Android,Ios,Mobile,Cordova,我使用下面的代码获取下载路径,但一旦格式化并安装了cordova的mac 3.3.0rc1版,代码就无法正常工作 function onSuccess(fileSystem) { console.log(fileSystem.root.fullPath); } // request the persistent file system window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onSuccess, null); 在

我使用下面的代码获取下载路径,但一旦格式化并安装了cordova的mac 3.3.0rc1版,代码就无法正常工作

function onSuccess(fileSystem) {
    console.log(fileSystem.root.fullPath);
}

// request the persistent file system
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onSuccess, null);
在此之前,代码返回如下内容:

/Users/myuser/Library/Application Support/iPhone Simulator/5.0/Applications/CF2A9018-49B9-4DE6-91FC-EA76CB435FC8/Document
现在,代码只返回:

"/"
我不能那样下载

科尔多瓦有什么变化吗?我应该使用什么代码下载

我试了好几次,但都没有成功


感谢大家。

文件插件已经更新,请查看此链接:谢谢,伙计。。。现在一切都正常了……)