Mini
12/03/2020, 1:12 PMcomposeOptions {
kotlinCompilerVersion '1.4.20'
kotlinCompilerExtensionVersion '1.0.0-alpha08'
}
kotlinOptions {
useIR = true
jvmTarget = "1.8"
}
Everything works until I add buildFeatures { compose true }
When compose is enabled the project never finishes building. I have multiple attempts, and my last one has been running for 3 hours 36 minutes 😕
Any ideas what might be wrong?jim
12/03/2020, 1:16 PMkill -3
to see what is on the stack. Or better yet, can you try to create a minimal repro and post it to github so we can investigate?Mini
12/03/2020, 1:20 PMkill -3
? 😅Javier
12/03/2020, 1:22 PMMini
12/03/2020, 1:23 PMjim
12/03/2020, 1:41 PMkill -3
is an easy way to send a SIGQUIT to a running java process, which will result in the process dumping the jvm state including all thread stacks (https://www.baeldung.com/java-thread-dump#1-kill--3-command-linuxunix). But it's not the only way to get stack traces (as per other options in that same link). It would provide a hint as to what's going on, but it's not guaranteed to give us a useful answer, so if you aren't familiar with capturing JVM stacks, probably a minimal repro would be the best way to ensure we're able to reproduce and fix the issue.myanmarking
12/03/2020, 5:03 PMMantas Varnagiris
12/07/2020, 10:00 AM> Task :app:compileDevDebugKotlin
My project is quite complex so for me it's hard to distil what the problem is. I'm currently in the process of migrating kotlin-synthetics to viewbinding so it might be relatedMini
12/07/2020, 10:01 AMMantas Varnagiris
12/07/2020, 10:02 AMMini
12/07/2020, 10:02 AMJavier
12/07/2020, 10:05 AMMantas Varnagiris
12/07/2020, 10:06 AMJavier
12/07/2020, 10:13 AM