每次我更改时,Android 实时编辑都会暂停,即使它是自动的并给出错误消息

问题描述 投票:0回答:1

我正在使用 IntelliJ Idea 社区版。每当我在自动实时编辑时更改 Kotlin 代码时,它就会暂停并向我显示以下消息:

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)

我不知道该怎么办,我研究并尝试了一些解决方案,但没有成功。

android kotlin intellij-idea android-jetpack-compose liveedit
1个回答
0
投票

我已从 IntelliJ Idea 切换到 Android Studio 并解决了我的问题。

© www.soinside.com 2019 - 2024. All rights reserved.