Open kilo-swodh opened 5 years ago
依赖版本: implementation 'cn.jiguang.imui:messagelist:0.8.0' implementation 'cn.jiguang.imui:chatinput:0.10.0'
测试机型:华为 BLA AL00
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)
复现率:必现
请问解决了么?
依赖版本: 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)
复现率:必现