After updating Gradle to com.android.tools.build:gradle:3.1.0, in the log I now see:
com.android.tools.build:gradle:3.1.0
Folder E:\\WORK\\App\\car_android\\carapp\\build\\
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.