java.lang.RuntimeException

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.

  • GitHub comment 6#238328237
    via GitHub by alhdo
    ,
  • GitHub comment 24#220275460
    via GitHub by awadeyar
    ,
  • Doesn;t work on Android 6
    via GitHub by Kolyall
    ,
  • GitHub comment 36#179271598
    via GitHub by havidarou
    ,
    • java.lang.RuntimeException: Fail to connect to camera service at android.hardware.Camera.<init>(Camera.java:568) at android.hardware.Camera.open(Camera.java:405) at com.google.zxing.client.android.camera.open.GingerbreadOpenCameraInterface.open(GingerbreadOpenCameraInterface.java:57) at com.google.zxing.client.android.camera.open.CameraManager.openDriver(CameraManager.java:77) at com.dlazaro66.qrcodereaderview.QRCodeReaderView.surfaceCreated(QRCodeReaderView.java:110) at android.view.SurfaceView.updateWindow(SurfaceView.java:712) at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:209) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1014) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2511) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1438) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7398) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920) at android.view.Choreographer.doCallbacks(Choreographer.java:695) at android.view.Choreographer.doFrame(Choreographer.java:631) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7224) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

    Users with the same issue

    Unknown visitor1 times, last one,
    Aravind
    3 times, last one,
    Reich
    8 times, last one,
    gamebusterz
    2 times, last one,
    pranavprakash
    14 times, last one,
    21 more bugmates