java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • setPreviewTexture failed
    via GitHub by Carpetfizz
    ,
  • setPreviewTexture failed
    via GitHub by fahimk
    ,
  • Error by loading parameters
    via GitHub by Seroga88i
    ,
    • java.io.IOException: setPreviewTexture failed at android.hardware.Camera.setPreviewSurface(Native Method) at android.hardware.Camera.setPreviewDisplay(Camera.java:629) at me.dm7.barcodescanner.core.CameraPreview.showCameraPreview(CameraPreview.java:83) at me.dm7.barcodescanner.core.CameraPreview.surfaceChanged(CameraPreview.java:68) at android.view.SurfaceView.updateWindow(SurfaceView.java:630) at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:161) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2205) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6337) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874) at android.view.Choreographer.doCallbacks(Choreographer.java:686) at android.view.Choreographer.doFrame(Choreographer.java:621) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6119) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

    Users with the same issue

    Unknown visitor1 times, last one,
    Ajeet
    3 times, last one,