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

相机崩溃 #80

Closed
lulululbj opened this issue Jul 20, 2017 · 3 comments
Closed

相机崩溃 #80

lulululbj opened this issue Jul 20, 2017 · 3 comments
Labels

Comments

@lulululbj
Copy link

Nexus 6p API23 相机进入全屏时崩溃,错误信息如下:
java.lang.SecurityException: Lacking privileges to access camera service at android.hardware.camera2.utils.CameraBinderDecorator.throwOnError(CameraBinderDecorator.java:108) at android.hardware.camera2.utils.CameraBinderDecorator$CameraBinderDecoratorListener.onAfterInvocation(CameraBinderDecorator.java:73) at android.hardware.camera2.utils.Decorator.invoke(Decorator.java:81) at java.lang.reflect.Proxy.invoke(Proxy.java:393) at $Proxy2.cancelRequest(Unknown Source) at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:926) at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:378) at android.hardware.camera2.impl.CameraCaptureSessionImpl$2.onDisconnected(CameraCaptureSessionImpl.java:514) at android.hardware.camera2.impl.CameraDeviceImpl$7.run(CameraDeviceImpl.java:228) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

@KenChoi1992
Copy link
Contributor

@lulululbj 有没有拿到 camera2 相机权限

@lulululbj
Copy link
Author

@KenChoi1992 进入聊天界面点击相机按钮小屏幕状态下时正常的 点击全屏按钮就崩溃了

@KenChoi1992
Copy link
Contributor

@lulululbj 试试新版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants