Haven't had this problem before, but I can't build...
# android
b
Haven't had this problem before, but I can't build an Android project at all, from terminal or Android Studio. It just hangs forever, and --info isn't particularly helpful. I'm using Kotlin 1.4.10, Kotlin Gradle DSL, Android Studio 4.2 Canary 16. Anyone have this problem? I'll add a couple interesting logs in a thread.
c
Excuse me for suggesting this but: Clean, Invalidade and restart?
b
Copy code
Build cache key for task ':app:kaptDebugKotlin' is c77d5366a6db8bdb9cedc1853ae68f93
Skipping task ':app:kaptDebugKotlin' as it is up-to-date.
:app:kaptDebugKotlin (Thread[Execution worker for ':' Thread 15,5,main]) completed. Took 0.052 secs.
:app:compileDebugKotlin (Thread[Execution worker for ':' Thread 15,5,main]) started.
Copy code
i: Received the message signalling that the daemon is ready
i: new daemon started, trying to find it
i: found daemon on port 17816 (18 ms old), trying to connect
i: connected to the daemon
Options for KOTLIN DAEMON: IncrementalCompilationOptions(super=CompilationOptions(compilerMode=INCREMENTAL_COMPILER, targetPlatform=JVM, reportCategories=[0], reportSeverity=2, requestedCompilationResults=[0]kotlinScriptExtensions=[kt, kts, java, java]), areFileChangesKnown=false, modifiedFiles=null, deletedFiles=null, workingDir=/Users/bradyaiello/AndroidStudioProjects/FiveESpells/app/build/kotlin/compileDebugKotlin, multiModuleICSettings=MultiModuleICSettings(buildHistoryFile=/Users/bradyaiello/AndroidStudioProjects/FiveESpells/app/build/kotlin/compileDebugKotlin/build-history.bin, useModuleDetection=true), usePreciseJavaTracking=trueoutputFiles=[/Users/bradyaiello/AndroidStudioProjects/FiveESpells/app/build/tmp/kotlin-classes/debug, /Users/bradyaiello/AndroidStudioProjects/FiveESpells/app/build/kotlin/compileDebugKotlin])
<=====--------> 41% EXECUTING [3m 33s]
> :app:compileDebugKotlin
Yes, I have.
👍 1
a
Have you just upgraded the project from Kotlin 1.3.*? Then it may be a performance issue of new type inference. Can you share the project to investigate?