Android Question CamEx2 Error : Camera 0: Got error Invalid argument (-22) after ...

Discussion in 'Android Questions' started by uniplan, Nov 22, 2018.

  1. uniplan

    uniplan Active Member Licensed User

    Hi, i'm using the CamEx2 Library on my Huawei P20 Pro (Android 8), buta i receive this message when i try to take a Photo.

    android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): submitRequestList:283: Camera 0: Got error Invalid argument (-22) after trying to submit capture request

    How i can solve it?
    Thank you
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Rob Bliss likes this.
  3. uniplan

    uniplan Active Member Licensed User

    Yes,i add Sleep(100) and now it work.Thank you @Erel
     
  4. hookshy

    hookshy Well-Known Member Licensed User

    Worked for my device too Huawey p9 LITE ANDROID 8.0 thank you for helping us
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice