jpush / aurora-imui

General IM UI components. Android/iOS/RectNative ready. 通用 IM 聊天 UI 组件,已经同时支持 Android/iOS/RN。
https://docs.jiguang.cn
MIT License
5.71k stars 998 forks source link

拍照闪退 #650

Open kilo-swodh opened 5 years ago

kilo-swodh commented 5 years ago

依赖版本: implementation 'cn.jiguang.imui:messagelist:0.8.0' implementation 'cn.jiguang.imui:chatinput:0.10.0'

测试机型:华为 BLA AL00

报错日志: Camera Background java.lang.IllegalStateException CameraDevice was already closed 1 android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2426)

2 android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSessionInternal(CameraDeviceImpl.java:645) 3 android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(CameraDeviceImpl.java:514) 4 cn.jiguang.imui.chatinput.camera.CameraNew.createCameraPreviewSession(CameraNew.java:9) 5 cn.jiguang.imui.chatinput.camera.CameraNew.access$700(CameraNew.java:1) 6 cn.jiguang.imui.chatinput.camera.CameraNew$3.onOpened(CameraNew.java:3) 7 android.hardware.camera2.impl.CameraDeviceImpl$1.run(CameraDeviceImpl.java:147) 8 android.os.Handler.handleCallback(Handler.java:907) 9 android.os.Handler.dispatchMessage(Handler.java:105) 10 android.os.Looper.loop(Looper.java:216) 11 android.os.HandlerThread.run(HandlerThread.java:65)

复现率:必现

cnpmge commented 4 years ago

请问解决了么?