Android camera-server-dead-and-camera error 100

I have a question that follows Android Camera Server Died and Camera ERROR 100

A similar error appears in my code. This error occurs in an automated test in which we run many applications randomly. After a very long time, we see this error:

E / Camera (2088): [Camera.java=70:handleMessage ()] Error 100

In your message you wrote that you solved this problem, could you tell us what you did to solve this problem?

+6
source share
1 answer

I got this error in the emulator, deciding to remove camera.setPreviewDisplay(holder) from surfaceCreated() and calling it only in surfaceChanged() .

I am new, but hope this helps.

+8
source

Source: https://habr.com/ru/post/911964/


All Articles