VideoUIKit-Android icon indicating copy to clipboard operation
VideoUIKit-Android copied to clipboard

[BUG] Crash when init video call "Attempt to get length of null array"

Open A-Cordero opened this issue 11 months ago • 0 comments

Describe the bug Using the version 'com.github.AgoraIO-Community.VideoUIKit-Android:final:v4.0.1' when starting the video call the application crashes, the log is attached

io.agora.rtc2.video.VideoCaptureCamera2.createPreviewObjectsAndStartPreview (VideoCaptureCamera2.java:735) io.agora.rtc2.video.VideoCaptureCamera2.createTexturePreviewObjectsAndStartPreview (VideoCaptureCamera2.java:691) io.agora.rtc2.video.VideoCaptureCamera2.createPreviewObjectsAndStartPreviewOrFailWith (VideoCaptureCamera2.java:652) io.agora.rtc2.video.VideoCaptureCamera2.access$500 (VideoCaptureCamera2.java:65) io.agora.rtc2.video.VideoCaptureCamera2$CrStateListener.onOpened (VideoCaptureCamera2.java:77) android.hardware.camera2.impl.CameraDeviceImpl$1.run (CameraDeviceImpl.java:143) android.os.Handler.handleCallback (Handler.java:873) android.os.Handler.dispatchMessage (Handler.java:99) android.os.Looper.loop (Looper.java:193) android.os.HandlerThread.run (HandlerThread.java:65)

Smartphone (please complete the following information):

  • Device: Notepad_K10
  • OS: Android
  • Version 9

A-Cordero avatar Jul 06 '23 19:07 A-Cordero