After upgrading to classpath 'com.android.tools.build:gradle:2.3.0'
and migrating to build-in annotation processor I got following error for all my DataBinding generated classes:
:app:compileInternalDebugJavaWithJavac
E:\Projects\Work-projects\mediteo-android\app\src\main\java\com\mediteo\mobile\presentation\daily\intake\adapter\DailyIntakeItem.java:18: error: package com.mediteo.mobile.databinding does not exist
import com.mediteo.mobile.databinding.DailyIntakeHeaderItemBinding;
^
E:\Projects\Work-projects\mediteo-android\app\src\main\java\com\mediteo\mobile\presentation\daily\intake\adapter\DailyIntakeItem.java:19: error: package com.mediteo.mobile.databinding does not exist
import com.mediteo.mobile.databinding.DailyIntakeItemBinding;
........
Error:A default public constructor with no argument must be declared in IntakeLocal if a custom constructor is declared.
* What went wrong:
Execution failed for task ':app:compileInternalDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
However I can navigate to those files in Android studio IDE
public class DailyIntakeHeaderItemBinding extends android.databinding.ViewDataBinding {
........