Files downloaded with Chrome cannot be used in Android Pie
See original GitHub issueWhich platform(s) does your issue occur on?
- Android version 9
- Pixel 2
Please, tell us how to recreate the issue in as much detail as possible.
- Download a file using Chrome.
- Open Image Picker demo.
- Go to Downloads, select file.
- App crashes with the following exception:
JS: Error: java.lang.IllegalArgumentException: Unknown URI: content://downloads/public_downloads/24
JS: android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:165)
JS: android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
JS: android.content.ContentProviderProxy.query(ContentProviderNative.java:418)
JS: android.content.ContentResolver.query(ContentResolver.java:802)
JS: android.content.ContentResolver.query(ContentResolver.java:752)
JS: android.content.ContentResolver.query(ContentResolver.java:710)
JS: com.tns.Runtime.callJSMethodNative(Native Method)
JS: com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
JS: com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
JS: com.tns.Runtime.callJSMethod(Runtime.java:983)
JS: com.tns.Runtime.callJSMethod(Runtime.java:967)
JS: com.tns.Runtime.callJSMethod(Runtime.java:959)
JS: com.tns.NativeScriptActivity.onActivityResult(NativeScriptActivity.java:66)JS: android.app.Activity.dispatchActivityResult(Activity.java:7454)
JS: ...
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Fix file download errors - Google Chrome Help
This error means that there's not enough space on your computer to download the file. To fix the error: Delete some files from...
Read more >Top 9 Ways to Fix Google Chrome Not Downloading Files on ...
Top 9 Ways to Fix Google Chrome Not Downloading Files on Android · 1. In Google Chrome, tap the kebab menu (three-dot icon)...
Read more >Access media files from shared storage | Android Developers
Downloaded files, which are stored in the Download/ directory. ... Most developers won't need to use MediaStore.Files to view media files from other...
Read more >Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here or ...
Read more >Access documents and other files from shared storage
The Download directory. Furthermore, on Android 11 (API level 30) and higher, you cannot use the ACTION_OPEN_DOCUMENT_TREE intent action to request that the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m also having this issue. What workaround would you suggest for now?
The fix is published in nativescript-imagepicker@6.3.0