Has anyone else had issues with Gradle hanging after updating to AGP 7.0.0 and Compose alpha08?
Bryan Herbst
12/09/2020, 9:20 PM
Based on the jstack dump, it’s hanging here:
Copy code
"RMI TCP Connection(2)-127.0.0.1" #29 daemon prio=5 os_prio=31 cpu=1845298.43ms elapsed=1860.96s tid=0x00007fc192175800 nid=0x9803 runnable [0x0000700006cde000]
java.lang.Thread.State: RUNNABLE
at androidx.compose.compiler.plugins.kotlin.ComposeIrGenerationExtensionKt.getAllUnbound(ComposeIrGenerationExtension.kt:112)
at androidx.compose.compiler.plugins.kotlin.ComposeIrGenerationExtensionKt.generateSymbols(ComposeIrGenerationExtension.kt:125)
at androidx.compose.compiler.plugins.kotlin.ComposeIrGenerationExtension.generate(ComposeIrGenerationExtension.kt:47)
at org.jetbrains.kotlin.backend.jvm.JvmBackendFacade$doGenerateFiles$1.invoke(JvmBackendFacade.kt:91)
at org.jetbrains.kotlin.backend.jvm.JvmBackendFacade$doGenerateFiles$1.invoke(JvmBackendFacade.kt:40)
at org.jetbrains.kotlin.psi2ir.Psi2IrTranslator.generateModuleFragment(Psi2IrTranslator.kt:95)
at org.jetbrains.kotlin.backend.jvm.JvmBackendFacade.doGenerateFiles(JvmBackendFacade.kt:104)
[snip]
j
Joe Jensen
12/21/2020, 5:28 PM
I'm seeing the same hanging issue in my app. The last compile kotiln step doesn't ever finish
Joe Jensen
12/21/2020, 5:28 PM
Tried alpha09 and it does the same thing
b
Bryan Herbst
12/21/2020, 5:33 PM
Made an issue tracker ticket here: https://issuetracker.google.com/issues/175190348
Seems as though the Kotlin android extensions and Compose are not playing nice at the moment- disabling the extensions should help if that’s possible for you