Comments (5)
根据你的log我无法定位到问题。你可以试试库的demo是不存在该问题的。应该是其他原因导致,你详细描述下,存储的文件路径等,尽量详细,最好是能够提供一个有问题的demo项目,我给你看下。
from filedownloader.
三星Note3 Moto X 都会出现下载第二次流程都对就是文件没有保存,步骤是这样的有A ,B两个Activity,从A进入到B,在B中有一个下载按钮,点击后setResults返回A,在A中onActivityResult处理下载,第一次是成功的,接着再试第二次,就失败了,现象流程和第一次一样,但本地就是没有文件。
from filedownloader.
@Jacksgong 问题找到了 setPath的地方有问题,现在只能这样写
FileDownloader.getImpl().create(url) .setAutoRetryTimes(1) // .setPath(path) //此方法有bug .setListener(fileDownloadLargeFileListener) .ready();
下载完成后我需要重命名,有空看下什么原因吧
from filedownloader.
我不清楚 setPath
是存在什么bug,可否详细点提供下出现该bug 的上下文,因为我们自己也在使用这个库,做高并发,并没有遇到这个问题诶。
from filedownloader.
如果你那边有必现的bug,最好是能够提供下简单的出现bug的demo project,我这边方便定位问题。
from filedownloader.
Related Issues (20)
- Arroncarson new download file thing
- startForegroundService() not allowed due to mAllowStartForeground false
- W/FileDownloader.FileDownloadUtils: don't get instance length fromContent-Range header HOT 1
- 这么好的一个库既然没有人维护了
- https://bugs.chromium.org/p/chromium/people/detail?u=2599207410
- Yeah
- https://g.dev/Needfulthings
- 潜在的多线程调用可能引发的崩溃
- v1.7.5版本关闭debug后无法正常下载,error和completed回调都不走
- Foreground service types are required on `targetSdk` 34 HOT 3
- 在V1.7.7版本上,下载中直接没有通知进度了,看进程还在的,就是没有进度也没有继续下载了,并且查询当前task是还在下载状态,
- 文件第二次下载会删除之前下载好的文件,这是为什么
- Caused by android.app.ForegroundServiceStartNotAllowedException Service.startForeground() not allowed due to mAllowStartForeground false: HOT 1
- Caused by android.app.ForegroundServiceStartNotAllowedException Service.startForeground() not allowed due to mAllowStartForeground false:
- FileDownloadService.inspectRunServiceForeground android.app.MissingForegroundServiceTypeException - Starting FGS without a type callerApp=ProcessRecord{ae38c1e 15288:filedownloader/u0a146} targetSDK=34 HOT 1
- File
- file
- File
- 红米的android 13部分手机会出现SecurityException HOT 1
- SQLiteDatabaseLockedException 1.7.5版本崩溃
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filedownloader.