java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera/com.android.camera.Camera}: java.lang.RuntimeException: Fail to get camera info        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2814)        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)        at android.app.ActivityThread.-wrap11(Unknown Source:0)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1613)        at android.os.Handler.dispatchMessage(Handler.java:106)        at android.os.Looper.loop(Looper.java:173)        at android.app.ActivityThread.main(ActivityThread.java:6634)        at java.lang.reflect.Method.invoke(Native Method)        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:822)Caused by: java.lang.RuntimeException: Fail to get camera info        at android.hardware.Camera._getCameraInfo(Native Method)        at android.hardware.Camera.getCameraInfo(Camera.java:308)        at com.android.camera.CameraDataContainer.<init>(CameraDataContainer.java:52)        at com.android.camera.CameraDataContainer.getInstance(CameraDataContainer.java:36)        at com.android.camera.data.data.config.ComponentConfigHdr.isFrontCamera(ComponentConfigHdr.java:189)        at com.android.camera.data.data.config.ComponentConfigHdr.initForCaptureMode(ComponentConfigHdr.java:193)        at com.android.camera.data.data.config.ComponentConfigHdr.createItems(ComponentConfigHdr.java:154)        at com.android.camera.data.data.config.ComponentConfigHdr.reInit(ComponentConfigHdr.java:131)        at com.android.camera.data.data.config.DataItemConfig.supportHdr(DataItemConfig.java:141)        at com.android.camera.data.data.config.SupportedConfigFactory.getSupportedTopConfigs(SupportedConfigFactory.java:174)        at com.android.camera.data.data.config.DataItemConfig.getSupportedTopConfigs(DataItemConfig.java:129)        at com.android.camera.fragment.top.FragmentTopConfig.provideAnimateElement(FragmentTopConfig.java:942)        at com.android.camera.fragment.top.FragmentTopConfig.initView(FragmentTopConfig.java:182)        at com.android.camera.fragment.BaseFragment.onCreateView(BaseFragment.java:87)        at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962)        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1018)        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1199)        at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)        at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1564)        at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330)        at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:511)        at com.android.camera.Camera.onStart(Camera.java:766)        at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1335)        at android.app.Activity.performStart(Activity.java:7094)        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2777)        ... 9 more