java.lang.UnsupportedOperationException: The producer output buffer format 0x1 doesn't match the ImageReader's configured buffer format 0x4.

Hot problem!
This exception has a lot of traffic. You can help 13 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by nneonneo
, 2 years ago
The producer output buffer format 0x22 doesn't match the ImageReader's configured buffer format 0x3.
via GitHub by txu4
, 1 year ago
The producer output buffer format 0x2 doesn't match the ImageReader's configured buffer format 0x1.
via GitHub by txu4
, 1 year ago
The producer output buffer format 0x2 doesn't match the ImageReader's configured buffer format 0x1.
via GitHub by kingbeful
, 1 year ago
The producer output buffer format 0x5 doesn't match the ImageReader's configured buffer format 0x1.
java.lang.UnsupportedOperationException: The producer output buffer format 0x1 doesn't match the ImageReader's configured buffer format 0x4.
at android.media.ImageReader.nativeImageSetup(Native Method)
at android.media.ImageReader.acquireNextSurfaceImage(ImageReader.java:298)
at android.media.ImageReader.acquireNextImage(ImageReader.java:344)
at in.omerjerk.libscreenshotter.Screenshotter.onImageAvailable(Screenshotter.java:107)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:548)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.