Why is “3rd-party Gradle plug-ins may be the cause” showing after updating Gradle to 3.1.0?

前端 未结 5 1072
不知归路
不知归路 2020-12-16 10:15

After updating Gradle to com.android.tools.build:gradle:3.1.0, in the log I now see:

Folder E:\\WORK\\App\\car_android\\carapp\\build\\

5条回答
  •  自闭症患者
    2020-12-16 10:30

    I delete two folder app\build\generated\source\kaptKotlin\debug and app\build\generated\source\kaptKotlin\release ("debug" and "release") and add in gradle:

    kapt {
            mapDiagnosticLocations = true
        }
    

    then the project is sync without problem.

提交回复
热议问题