I got a project build error org.jetbrains.kotlin....
# compose
s
I got a project build error org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering File being compiled: TakeVideoScreen.kt The root cause java.lang.AssertionError was thrown at: org.jetbrains.kotlin.backend.jvm.lower
I wanted to do a video capturing, I used CameraX - VideoCapture.
This is the original project - https://github.com/robertlevonyan/CameraXDemo But it is a non composable project, I copied the required code for video capturing, and put into a composable project. i got that error.
j
"Backend Internal error" is always a compiler bug. If the same code works without Compose and fails with Compose turned on, then the bug is almost certainly caused by the Compose Compiler so please file a bug at https://issuetracker.google.com/issues?q=componentid:612128