java.lang.RuntimeException: setParameters failed

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

java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at com.example.surfaceviewtest.Test.surfaceChanged(
at android.view.SurfaceView.updateWindow(
at android.view.SurfaceView$3.onPreDraw(
at android.view.ViewTreeObserver.dispatchOnPreDraw(
at android.view.ViewRootImpl.performTraversals(
at android.view.ViewRootImpl.doTraversal(
at android.view.ViewRootImpl$
at android.view.Choreographer$
at android.view.Choreographer.doCallbacks(
at android.view.Choreographer.doFrame(
at android.view.Choreographer$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(

Users with the same issue

Once, 5 months ago
Once, 11 months ago
31 times, 1 year ago
12 times, 1 year ago
3 times, 1 year ago
2 more bugmates

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