java.lang.RuntimeException: setParameters failed

1、问题抛出

Fatal Exception: java.lang.RuntimeException: setParameters failed
       at android.hardware.Camera.native_setParameters(Camera.java)
       at android.hardware.Camera.setParameters(Camera.java:2162)
       at com.google.android.cameraview.Camera1.setDisplayOrientation(Camera1.java:262)
       at com.google.android.cameraview.CameraView$1.onDisplayOrientationChanged(CameraView.java:126)
       at com.google.android.cameraview.DisplayOrientationDetector.dispatchOnDisplayOrientationChanged(DisplayOrientationDetector.java:86)
       at com.google.android.cameraview.DisplayOrientationDetector$1.onOrientationChanged(DisplayOrientationDetector.java:62)
       at android.view.OrientationEventListener$SensorEventListenerImpl.onSensorChanged(OrientationEventListener.java:144)
       at android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent(SystemSensorManager.java:1020)
       at android.os.MessageQueue.nativePollOnce(MessageQueue.ja

你可能感兴趣的:(Android,Debug频道)