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 Unknown author, 2 years ago
Fail to connect to camera service
via androidcentral.com by Unknown author, 2 years ago
via GitHub by vinaytumbemane
, 1 year ago
Fail to connect to camera service
via GitHub by 782891085
, 6 months ago
Fail to connect to camera service
java.lang.RuntimeException: Fail to connect to camera service	at android.hardware.Camera.native_setup(Native Method)	at android.hardware.Camera.(Camera.java:429)	at android.hardware.Camera.open(Camera.java:388)	at com.google.android.cameraview.Camera1.openCamera(Camera1.java:278)	at com.google.android.cameraview.Camera1.start(Camera1.java:114)	at com.google.android.cameraview.Camera1.setFacing(Camera1.java:152)	at com.google.android.cameraview.CameraView.setFacing(CameraView.java:292)	at com.google.android.cameraview.demo.MainActivity.onOptionsItemSelected(MainActivity.java:220)	at android.app.Activity.onMenuItemSelected(Activity.java:2592)	at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:421)	at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:188)	at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)	at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)	at android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)	at android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:202)	at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:761)	at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:810)	at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)	at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:957)	at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:947)	at android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:618)	at android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:155)	at android.view.View.performClick(View.java:4220)	at android.view.View$PerformClick.run(View.java:17513)	at android.os.Handler.handleCallback(Handler.java:800)	at android.os.Handler.dispatchMessage(Handler.java:100)	at android.os.Looper.loop(Looper.java:194)	at android.app.ActivityThread.main(ActivityThread.java:5455)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:525)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:966)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:733)	at dalvik.system.NativeStart.main(Native Method)