Skip to content

Camera issues :

Created by: AndreaClement

Sur API 25 :

  • android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@aa2da0d is not valid; is your activity running?
  • android camera setParameters failed
  • java.lang.IllegalStateException: eglCreateWindowSurface: EGL error: 0x3003
  • java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Surface android.hardware.camera2.params.OutputConfiguration.getSurface()' on a null object reference