java.lang.IllegalStateException: Surface has already been released.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Project Stackoverflow
, 2 years ago
Surface has already been released.
via Stack Overflow by Unknown author, 2 years ago
Surface has already been released.
via GitHub by zaze8736
, 2 years ago
Surface has already been released.
via GitHub by zaze8736
, 2 years ago
Surface has already been released.
via Stack Overflow by dagonal
, 2 years ago
java.lang.IllegalStateException: Surface has already been released.
at android.view.Surface.checkNotReleasedLocked(Surface.java:408)
at android.view.Surface.lockCanvas(Surface.java:235)
at com.android.internal.view.BaseSurfaceHolder.internalLockCanvas(BaseSurfaceHolder.java:184)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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