Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextureView doesn't support displaying a background drawable #25

Closed
gwokwong opened this issue May 3, 2017 · 1 comment
Closed

TextureView doesn't support displaying a background drawable #25

gwokwong opened this issue May 3, 2017 · 1 comment

Comments

@gwokwong
Copy link

gwokwong commented May 3, 2017

用25的sdk编译会出现这样的问题。
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.hardware.Camera.takePicture(android.hardware.Camera$ShutterCallback, android.hardware.Camera$PictureCallback, android.hardware.Camera$PictureCallback)' on a null object reference
at com.camera.CameraInterface.takePicture(CameraInterface.java:220)
at com..camera.JCameraView$2.takePictures(JCameraView.java:220)
at com.camera.CaptureLayout$2.takePictures(CaptureLayout.java:149)
at com.camera.CaptureButton.handlerUnpressByState(CaptureButton.java:162)
at com.camera.CaptureButton.onTouchEvent(CaptureButton.java:148)

@CJT2325
Copy link
Owner

CJT2325 commented May 4, 2017

@guowang1102 你试试最新的1.0.4,我把TextureView改为VideoView了

@CJT2325 CJT2325 closed this as completed May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants