Kotlin项目中引入ARouter报错,错误信息如下方所示
Error:Circular dependency between the following tasks:
:arouter2:compileReleaseKotlin
\--- :arouter2:kaptReleaseKotlin
\--- :arouter2:compileReleaseKotlin (*)
(*) - details omitted (listed previously)
晒出解决方式(原因不明)
将kotlin版本变为1.1.2-2’
在local.properties加入 kotlin.incremental=false
解决了