Gradle: Couldn't connect to Kotlin daemon on Windows

前端 未结 2 971
清酒与你
清酒与你 2021-01-17 15:49

When I try a task that involves a compileKotlin (or compileTestKotlin), then I receive this warning and the result is unpleasant long duration

2条回答
  •  無奈伤痛
    2021-01-17 16:14

    In my case I've fixed by clearing some cache in Users folders, in particular:

    C:\Users\user\.android\build-cache\
    C:\Users\user\.android\cache\
    C:\Users\user\.gradle\caches\
    

    Not sure which one made a difference but after clearing all this, the error went away.

提交回复
热议问题