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

不可以设置后置摄像头吗 #17

Open
mczha opened this issue May 22, 2020 · 0 comments
Open

不可以设置后置摄像头吗 #17

mczha opened this issue May 22, 2020 · 0 comments

Comments

@mczha
Copy link

mczha commented May 22, 2020

设置为后置摄像头出错

05-22 10:16:29.515 24127-24511/com.zeusee_soft.face_tracking W/System.err: java.lang.NullPointerException: Attempt to read from field 'int android.hardware.Camera$Size.width' on a null object reference
05-22 10:16:29.515 24127-24511/com.zeusee_soft.face_tracking W/System.err: at com.hyq.hm.landmarksticker.CameraOverlap.initCamera(CameraOverlap.java:141)
05-22 10:16:29.515 24127-24511/com.zeusee_soft.face_tracking W/System.err: at com.hyq.hm.landmarksticker.CameraOverlap.openCamera(CameraOverlap.java:74)
05-22 10:16:29.515 24127-24511/com.zeusee_soft.face_tracking W/System.err: at com.hyq.hm.landmarksticker.MainActivity$2$1.run(MainActivity.java:352)
05-22 10:16:29.516 24127-24511/com.zeusee_soft.face_tracking W/System.err: at android.os.Handler.handleCallback(Handler.java:739)
05-22 10:16:29.516 24127-24511/com.zeusee_soft.face_tracking W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
05-22 10:16:29.516 24127-24511/com.zeusee_soft.face_tracking W/System.err: at android.os.Looper.loop(Looper.java:148)
05-22 10:16:29.516 24127-24511/com.zeusee_soft.face_tracking W/System.err: at android.os.HandlerThread.run(HandlerThread.java:61)

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

1 participant