Comments (3)
Have you added provider
to your manifest
? (see Android integration instruction for detail)
from flutter_downloader.
No but I also do not want to open files on click but wasn't aware that clickToOpenDownloadedFile
is set to true
by default. Setting it to false
fixes the issue.
from flutter_downloader.
Device: Emulated Pixel 2 with API 28
W/System.err(15204): java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference W/System.err(15204): at android.support.v4.content.FileProvider.parsePathStrategy(FileProvider.java:604) W/System.err(15204): at android.support.v4.content.FileProvider.getPathStrategy(FileProvider.java:578) W/System.err(15204): at android.support.v4.content.FileProvider.getUriForFile(FileProvider.java:416) W/System.err(15204): at vn.hunghd.flutterdownloader.DownloadWorker.getOpenFileIntent(DownloadWorker.java:272) W/System.err(15204): at vn.hunghd.flutterdownloader.DownloadWorker.downloadFile(DownloadWorker.java:161) W/System.err(15204): at vn.hunghd.flutterdownloader.DownloadWorker.doWork(DownloadWorker.java:84) W/System.err(15204): at androidx.work.impl.WorkerWrapper.runWorker(WorkerWrapper.java:192) W/System.err(15204): at androidx.work.impl.WorkerWrapper.run(WorkerWrapper.java:105) W/System.err(15204): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) W/System.err(15204): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) W/System.err(15204): at java.lang.Thread.run(Thread.java:764) I/WorkerWrapper(15204): Worker result FAILURE for Work [ id=f27e5d6b-a588-4ee3-886e-74220a3f6a2c, tags={ flutter_download_task, vn.hunghd.flutterdownloader.DownloadWorker } ]
I have this problem, too. How did you solve it?
from flutter_downloader.
Related Issues (20)
- 下载进度到达100后又返回错误 HOT 1
- no such column: save_in_public_storage (code 1 SQLITE_ERROR) HOT 1
- Download is getting failed in android when i am saving files in local directory. It is working only when i am giving saveInPhoneStorage:true.
- Downloading not working suddenly say download complete
- Download is Not Working HOT 2
- LoadTasksWithRawQuery not working
- 'failed to set registerPlugins' in integration with flutter module
- Negative progress HOT 3
- In iOS ,i get a sql error
- Wrong file Content Type (application/octet-stream)
- flutter downloader is not downloading in Android versions of 13 and 14 HOT 2
- Please add download with encrypt
- File not saving in private storage without WRITE_EXTERNAL_STORAGE permission
- Downloading not Starting on OPPO with android 11 HOT 1
- file uploader
- Downloading fails often in android 10.
- Issue while Opening the file HOT 2
- java.lang.NullPointerException(DownloadWorker.kt:395)
- android api 34, sendCancelIfRunning: isInProgress=falsecallback=io.flutter.embedding.android.FlutterActivity
- Can we override flutter downloader to download from URLs with self-signed certificates to avoid errors
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 flutter_downloader.