leah_huang
leah_huang
  • 发布:2016-06-23 16:45
  • 更新:2018-09-21 16:41
  • 阅读:1919

【报错!!】Hbuilder更新新版本之后,文件操作失败,错误提示:执行出错

分类:HTML5+
plus.io.resolveLocalFileSystemURL(localFilePath, function(entry) {  
        fileObj.type == "image" ? ui.showPicture(fileObj, 1, 1) : ui.showVideo(fileObj, 1, 1);  
    }, function(e) {  
        plus.io.resolveLocalFileSystemURL(downloadFilePath, function(entry) {  
            fileObj.type == "image" ? ui.showPicture(fileObj, 0, 1) : ui.showVideo(fileObj, 0, 1);  
        }, function(e) {  
            if (plus.networkinfo.getCurrentType() != plus.networkinfo.CONNECTION_NONE) {  
                ui.toDoDownload(fileObj, 1);//此处下载成功,但是文件却没有出现在文件系统中  
            } else {  
                ui.showFileDownloadFaild(fileObj);  
                ui.judgeType(ui.currentDownloadImages);  
            }  

        });  
    });  

log如下:  
Error-2 - failed to get the dir of file: {"code":10,"message":"执行出错"}
2016-06-23 16:45 负责人:无 分享
已邀请:
飞apple55

飞apple55

请问这个问题怎么解决的??

8***@qq.com

8***@qq.com

请问这个问题怎么解决的

该问题目前已经被锁定, 无法添加新回复