TaskExecutionException: Execution failed for task ':BundleChat:kaptDebugKotlin'.
GradleException: Compilation error. See log for more details
有用到ARouter框架的kotlin項目必尼,在使用 @Autowired 標(biāo)注參數(shù)時纫事,如果不小心參數(shù)聲明為private矮湘,編譯時就會出現(xiàn)該異常
(阿里路由的提示太不友好了!一開始都沒發(fā)現(xiàn)是private聲明引起的...)