优乐美
优乐美
  • 发布:2019-01-25 14:11
  • 更新:2019-01-25 16:40
  • 阅读:866

plus.downloader.createDownload android下载语音文件失败

分类:5+ SDK

plus.downloader.createDownload
android下载语音文件失败 ios 可以下载语音文件(android 必须要指定文件后缀名 才能下载成功. ios不需要) 官方能看看嘛

android下载失败返回的参数
{"id":"dt121548396065917","url" :"https://nim-nosdn.netease.im/NTMyNjkwMA==/bmltYV81Mzg0MDE5MzQwXzE1NDgzOTU4NTI5MzdfNjUzYjZiOGMtNWZhYS00OTNhLTljNzUtNDQyNzBjNzFmMWNl?1. createTime=1548395853502","downloadedSize":0,"totalSize":24066,"options":{"filename":"_downloads/dcss_admin/"},"filename":"_downloads/dcss_admin/NTMyNjkwMA==/bmltYV81Mzg0MDE5MzQwXzE1NDgzOTU4NTI5MzdfNjUzYjZiOGMtNWZhYS00OTNhLTljNzUtNDQyNzBjNzFmMWNl","method":"GET","timeout":120,"retry":3,"retryInterval":30,"priority":1,"eventHandlers":{},"data":null,"requestHeaders":{},"responseHeaders":{"Date":"Fri, 25 Jan 2019 06:04:36 GMT","Content-Type":"audio/mpeg;charset=UTF-8","Content-Length":"24066","Connection":"keep-alive","x-nos-request-id":"d5c946bf-d7b2-4e84-8979-d1a5ba471e42","x-nos-owner-productid":"a843904cbca843cba2265ad0a6d8ed58","x-nos-object-name":"NTMyNjkwMA%3D%3D%2FbmltYV81Mzg0MDE5MzQwXzE1NDgzOTU4NTI5MzdfNjUzYjZiOGMtNWZhYS00OTNhLTljNzUtNDQyNzBjNzFmMWNl","ETag":"e52cdf0b4dd77f45505ee63e46be12d9","x-nos-storage-class":"STANDARD","Content-Disposition":"inline; filename=\"NTMyNjkwMA%3D%3D%2FbmltYV81Mzg0MDE5MzQwXzE1NDgzOTU4NTI5MzdfNjUzYjZiOGMtNWZhYS00OTNhLTljNzUtNDQyNzBjNzFmMWNl\"",

2019-01-25 14:11 负责人:无 分享
已邀请:
优乐美

优乐美 (作者) - z

android 必须要指定文件后缀名 才能下载成功

DCloud_Android_ST

DCloud_Android_ST

提供一下下载地址 我们测试一下

  • 优乐美 (作者)

    https://nim-nosdn.netease.im/NTMyNjkwMA==/bmltYV81Mzg0MDE5MzQwXzE1NDgzOTU4NTI5MzdfNjUzYjZiOGMtNWZhYS00OTNhLTljNzUtNDQyNzBjNzFmMWNl?1. createTime=1548395853502

    2019-01-28 08:36

  • DCloud_Android_ST

    @1961923183@qq.com:可以通过设置filename绕过此问题

    2019-01-29 11:32

要回复问题请先登录注册