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

ImagePicker.getPictures return error : the image file could not be opened. #270

Open
Chawo opened this issue Jul 25, 2018 · 10 comments
Open

Comments

@Chawo
Copy link

Chawo commented Jul 25, 2018

I've picked two images from my photo library and one of them is a broken image. I get this error : the image file could not be opened.
And then it goes straight onleave and doesnt care about my second image which is not a broken image.

@rahulinaction
Copy link

Is there any update for this issue

@johnguillerbalo
Copy link

Hi, any update on this issue?
We've encountered this issue on an android 10 Samsung SM-T295 but not on an android 9 Samsung SM-T385.
We have already provided storage permission to the app but on the SM-T295 the error remains.

@jimsleon
Copy link

jimsleon commented Sep 7, 2020

We are encountering the same issue with Samsung Android 10 if we targeting SDK version 29. it works fine if the application is targeting to SDK 28, @johnguillerbalo @rahulinaction did you get around the issue?

@neoraltech
Copy link

Hi @jimsleon ,
As of now, no luck getting around the issue. BUT thank you for your information about the SDK version usage.

@BekirBesli
Copy link

Hi;
I have the same problem with the application when I switched to Android SDK 29. Android SDK 28 working. Is this about the application local directory?
Can anyone help?

@MELEKKUZYAKA
Copy link

Hi,
I have the same issue to Android SDK 29
Can anyone help?

@BekirBesli
Copy link

Google has a new feature on Android Q: filtered view for external storage. A quick fix for that is to add this code in the AndroidManifest.xml file:

<manifest ... >

<application android:requestLegacyExternalStorage="true" ... >
...

You can get detailed information from the links below.
https://gitmemory.com/issue/Telerik-Verified-Plugins/ImagePicker/208/671387267
https://stackoverflow.com/questions/8854359/exception-open-failed-eacces-permission-denied-on-android

@MELEKKUZYAKA
Copy link

MELEKKUZYAKA commented Sep 16, 2020

Thanks for everything. Problem solved.

@herbertbruno
Copy link

I am getting the following error when i add application android:requestLegacyExternalStorage="true" in the config file.
AAPT: error: attribute android:requestLegacyExternalStorage not found
Telerik-Verified-Plugins#212

@jimsleon
Copy link

jimsleon commented Oct 6, 2020

I am getting the following error when i add application android:requestLegacyExternalStorage="true" in the config file.
AAPT: error: attribute android:requestLegacyExternalStorage not found
Telerik-Verified-Plugins#212

you might need to update compile SDK version to 29.

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

8 participants