Code Monkey home page Code Monkey logo

Comments (5)

Jacksgong avatar Jacksgong commented on May 19, 2024

根据你的log我无法定位到问题。你可以试试库的demo是不存在该问题的。应该是其他原因导致,你详细描述下,存储的文件路径等,尽量详细,最好是能够提供一个有问题的demo项目,我给你看下。

from filedownloader.

changjiashuai avatar changjiashuai commented on May 19, 2024

三星Note3 Moto X 都会出现下载第二次流程都对就是文件没有保存,步骤是这样的有A ,B两个Activity,从A进入到B,在B中有一个下载按钮,点击后setResults返回A,在A中onActivityResult处理下载,第一次是成功的,接着再试第二次,就失败了,现象流程和第一次一样,但本地就是没有文件。

from filedownloader.

changjiashuai avatar changjiashuai commented on May 19, 2024

@Jacksgong 问题找到了 setPath的地方有问题,现在只能这样写
FileDownloader.getImpl().create(url) .setAutoRetryTimes(1) // .setPath(path) //此方法有bug .setListener(fileDownloadLargeFileListener) .ready();
下载完成后我需要重命名,有空看下什么原因吧

from filedownloader.

Jacksgong avatar Jacksgong commented on May 19, 2024

我不清楚 setPath 是存在什么bug,可否详细点提供下出现该bug 的上下文,因为我们自己也在使用这个库,做高并发,并没有遇到这个问题诶。

from filedownloader.

Jacksgong avatar Jacksgong commented on May 19, 2024

如果你那边有必现的bug,最好是能够提供下简单的出现bug的demo project,我这边方便定位问题。

from filedownloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.