java.lang.IllegalArgumentException: Invalid rotation=87

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Invalid rotation=87

    Stack Overflow | 7 months ago | Vishwesh Jainkuniya
    java.lang.IllegalArgumentException: Invalid rotation=87

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid rotation=87

      at android.hardware.Camera$Parameters.setRotation()
    2. Android Platform
      Camera$Parameters.setRotation
      1. android.hardware.Camera$Parameters.setRotation(Camera.java:3462)
      1 frame
    3. Android
      RequestThreadManager$5.handleMessage
      1. android.hardware.camera2.legacy.LegacyRequestMapper.convertRequestMetadata(LegacyRequestMapper.java:404)
      2. android.hardware.camera2.legacy.LegacyMetadataMapper.convertRequestMetadata(LegacyMetadataMapper.java:1212)
      3. android.hardware.camera2.legacy.RequestThreadManager$5.handleMessage(RequestThreadManager.java:760)
      3 frames
    4. Android Platform
      HandlerThread.run
      1. android.os.Handler.dispatchMessage(Handler.java:98)
      2. android.os.Looper.loop(Looper.java:148)
      3. android.os.HandlerThread.run(HandlerThread.java:61)
      3 frames