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

Camera not working: onActivityResult-1 #157

Open
krabouilleur opened this issue Dec 5, 2022 · 1 comment
Open

Camera not working: onActivityResult-1 #157

krabouilleur opened this issue Dec 5, 2022 · 1 comment

Comments

@krabouilleur
Copy link

krabouilleur commented Dec 5, 2022

Hi,

I'm testing the library on Android Studio, the minSdk is 29 and the targetSdk is 32.

when I want to use the camera: I take the photo, then I click on "Ok" button then, there is an error (black screen on device):

D/: onActivityResult-1
W/System.err: java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)

In my manifest there is the permissions
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

I tried to add in the manifest the attribute
android:requestLegacyExternalStorage="true"

But the is always the error.

Is the library is working yet ?

My device: Android 10 (API level 29), Samsung J6

@dhiman11
Copy link

Have you found any solution for this ?

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

2 participants