Ath*_*dom 5 android intellij-idea kotlin
I am learning Kotlin using IntelliJ IDEA Community IDE (first time using both) and after restarting the IDE, a simple file no longer finishes building when attempting to run it.
\nUnder the Build
panel, it will be stuck at the task
\n\nKotlin: performing incremental compilation analysis
\n
I let it run this task (16 core 5950X, 128 GB DDR4, Ubuntu 20.04) for 2 days already and there is still no progress. Restarting IntelliJ IDE does not help. Even reinstalling it does not fix it.
\nIntelliJ IDEA Community was installed as a Snap using "Ubuntu Software" app.
\nAny ideas how we can get it to work again?
\nThanks!
\nBuild Output:
\nExecuting pre-compile tasks\xe2\x80\xa6\nLoading Ant configuration...\nRunning Ant tasks...\nRunning 'before' tasks\nChecking sources\nKotlin: connecting to daemon\nKotlin: compiling [Test]\nKotlin: kotlinc-jvm 1.6.10-release-923 (JRE 17.0.1+12-Ubuntu-120.04)\nKotlin: performing incremental compilation analysis\n
Run Code Online (Sandbox Code Playgroud)\n
[编辑] 我重新启用增量编译以获取线程转储,并且问题没有再次出现。
这是最没有帮助的答案,但由于我的项目只是为了研究,我已经禁用了增量编译。
首选项 > 构建、执行、部署 > 编译器 > Kotlin 编译器
Kotlin 到 JVM > 启用增量编译 Kotlin 到 JavaScript > 启用增量编译
我不推荐将其用于实际项目。
归档时间: |
|
查看次数: |
1446 次 |
最近记录: |