Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载任务无法删除 #377

Closed
nwhhades opened this Issue Apr 2, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@nwhhades
Copy link

commented Apr 2, 2019

Aria版本

3.6.2

什么问题

任务下载完成后,手动将文件删除。此时无法正常删除任务、重新下载任务。

如何复现此问题

下载完成后,手动将文件删除

控制台日志

删除任务log:
04-02 12:31:25.992 1755-1755/cn.whiner.orange9 E/DownloadTarget: 下载失败,文件保存路径【f8ec9bde731147879de8b3540e0fc8d9】错误

重新下载任务log:这里确认是同一个任务
04-02 12:24:50.362 32141-32141/cn.whiner.orange9 E/DownloadTarget: 下载失败,保存路径【/storage/emulated/0/Android/data/cn.whiner.orange9/files/Download/叹云兮.mp3】已经被其它任务占用,请设置其它保存路径

@AriaLyy

This comment has been minimized.

Copy link
Owner

commented Apr 2, 2019

你是如何调用删除的?
看你日志的时间,第二个是路径冲突了

@nwhhades

This comment has been minimized.

Copy link
Author

commented Apr 2, 2019

这是代码
Aria.download(HifiActivity.this).load(mUrl).cancel(false);

Aria.download(HifiActivity.this)
.load(mUrl)//读取下载地址
.resetState()
.setFilePath(path)//设置文件保存的完整路径
.start();

@AriaLyy

This comment has been minimized.

Copy link
Owner

commented Apr 2, 2019

找到问题了,是这个版本数据库优化后,搜索参数没有解码导致的

@AriaLyy

This comment has been minimized.

Copy link
Owner

commented Apr 2, 2019

3.6.3版本已经修复了这个问题

@nwhhades nwhhades closed this Apr 2, 2019

AriaLyy added a commit that referenced this issue Apr 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.