Android Studio 4.0.1 and 4.1 RC 1 both started to ...
# intellij
j
Android Studio 4.0.1 and 4.1 RC 1 both started to freeze on two different macs on different projects. This usually happens when trying to navigate to a symbol declaration, or when deleting a larger block of code. It’s like disk reads become blocked, and the whole OS starts to hang. The only thing in common was that I updated to Kotlin 1.4 in both projects. Anyone else seeing problems like this?
2
I think this may be related https://youtrack.jetbrains.com/issue/KT-41149 but so far no workaround for the IDE or any way to downgrade the plugin. 😭
I found thread dumps in the log directory:
Copy code
threadDumps-freeze-20200830-102026-AI-193.6911.18.40.6626763-Unsafe.park-65sec
threadDumps-freeze-20200831-150837-AI-193.6911.18.40.6626763-Unsafe.park-5sec
threadDumps-freeze-20200831-154613-AI-193.6911.18.40.6626763-Unsafe.park-68sec
I’ll dig through these and report.
Tracked it down to the SQLDelight plugin https://github.com/cashapp/sqldelight/issues/1916.
m
you can downgrade the plugin by installing the older version "from disk"
IDEA is hanging up multiple times per hour here even after I downgraded, though.