Skip to content

Camera not working: onActivityResult-1 #157

@lashermes

Description

@lashermes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions