Android Live Edit pauses everytime I change even it's automatic and gives error message

59 views Asked by At

I'm using IntelliJ Idea Community Edition. Whenever I change my Kotlin code while the live edit is automatic, it pauses and gives me this message:

Compilation Error: Backend Internal error: Exception during IR lowering
File being compiled: C:/Users/oguz.temizel/IdeaProjects/Liveeditproject/app/src/main/java/com/example/liveeditproject/MainActivity.kt
The root cause java.lang.RuntimeException was thrown at: org.jetbrains.kotlin.backend.jvm.codegen.Function Codegen.generate (Function Codegen.kt:52)

I don't know what to do, and I have researched & tried some solutions and didn't work.

1

There are 1 answers

0
oguztemizel98 On

I have switched to Android Studio from IntelliJ Idea and solved my problem.