Giter Club home page Giter Club logo

Comments (6)

RobinFarmer avatar RobinFarmer commented on June 24, 2024 2

Thanks, I was just able to test on a real device on API 33 and can confirm it does not happen. So it seems to be a problem with emulators...

from fotoapparat.

RobinFarmer avatar RobinFarmer commented on June 24, 2024 2

We switched to CameraX which has been a great experience!

from fotoapparat.

noxo avatar noxo commented on June 24, 2024

good to know something like this is expected, does it work if target sdk is lowered to 31 or 32? is it real device or emulator? i think i've seen that error on emulator.

from fotoapparat.

RobinFarmer avatar RobinFarmer commented on June 24, 2024

@noxo Thanks for your message, what do you mean that this is expected?

I tried the following (All on emulators):

Left SDK target on 33 top level build.gradle.

Run on Emulator that has API 28 -> works fine.
Run on Emulator that has API 30 -> works fine.
Run on Emulator that has API 31 -> Stopped working with E/Camera: Error 2
Run on Emulator that has API 32 -> Does not work with error: E/Camera: Error 2
Run on Emulator that has API 33 -> Does not work with error: E/Camera: Error 2

from fotoapparat.

noxo avatar noxo commented on June 24, 2024

Thanks for info. I've been observing same behaviour on emulator, but then it works on real device (tested on Fold3 & API 32)

It's expected, because nobody seems to maintain the project anymore, so I would look for something else if you are looking for camera lib.

from fotoapparat.

guyca avatar guyca commented on June 24, 2024

I can confirm that taking pictures seems to work on a real device. I guess it's time to migrate away from this library. What are y'all migrating to?

from fotoapparat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.