java.lang.RuntimeException: startPreview failed

Android Enthusiasts | Roxxy | 2 years ago
  1. 0

    Camera stopped working, how to check if it's hardware problem?

    Android Enthusiasts | 2 years ago | Roxxy
    java.lang.RuntimeException: startPreview failed
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. emmanuelstroem 1 times, last 4 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    startPreview failed

    at android.hardware.Camera.startPreview()
  2. Android Platform
    Camera.startPreview
    1. android.hardware.Camera.startPreview(Native Method)
    1 frame
  3. com.mediatek.camera
    AndroidCamera.startPreview
    1. com.mediatek.camera.AndroidCamera.startPreview(AndroidCamera.java:168)
    1 frame
  4. com.android.camera
    CameraManager$CameraHandler.handleMessage
    1. com.android.camera.CameraManager$CameraHandler.handleMessage(CameraManager.java:168)
    1 frame
  5. Android Platform
    HandlerThread.run
    1. android.os.Handler.dispatchMessage(Handler.java:107)
    2. android.os.Looper.loop(Looper.java:194)
    3. android.os.HandlerThread.run(HandlerThread.java:60)
    3 frames