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

App was crash when select profile pic from gallery in Android Q #174

Open
Hinal1108 opened this issue Dec 20, 2019 · 3 comments
Open

App was crash when select profile pic from gallery in Android Q #174

Hinal1108 opened this issue Dec 20, 2019 · 3 comments

Comments

@Hinal1108
Copy link

Hinal1108 commented Dec 20, 2019

In Android Q, when we open multi picker for image selection, and I am selected Gallery option that moment app was crash, below is crash report:

Caused by: java.lang.IllegalArgumentException: column 'bucket_id' does not exist. Available columns: [instance_id, format, height, is_drm, owner_package_name, parent, date_modified, date_expires, _display_name, mime_type, _id, _data, _hash, _size, title, width, is_trashed, document_id, is_download, is_pending, date_added, primary_directory, secondary_directory, original_document_id, media_type, relative_path]

I am using below version:
com.kbeanie:multipicker:1.6@aar

@nilsorathiya
Copy link

@Hinal1108
That is not a library issue.
add below line in your application tag of a manifest file...

android:requestLegacyExternalStorage="true"

@dev-Shivam96
Copy link

@nilsorathiya
This is an Android Q security issue. And your solution is temporary, this solution is not working in Android 11. check this link.
Please refer this link for better solution.

@nisargmi
Copy link

Please provide support for android Q also as you need to provide support for scope storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants