After migrating my whole project to android x I can't get it to compile anymore.
I get 100 of following errors:
e: M:\tmp\EverywhereLauncher\app\generated\data_binding_base_class_source_out\devWithoutTestWithAccessibilityDebug\dataBindingGenBaseClassesDevWithoutTestWithAccessibilityDebug\out\com\my\app\databinding\ActivityMainBinding.java:52: error: cannot find symbol
@Nullable ViewGroup root, boolean attachToRoot, @Nullable DataBindingComponent component) {
^
symbol: class DataBindingComponent
location: class ActivityMainBinding
I don't know where to continue.
I have two problems now.
- I only see 100 errors
- all errors are the same and are probably hiding the real error
What I tried:
I have following in my projects
build.gradle
to increase the number of printed errors to 10000:gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xmaxerrs" << "10000" } }
This always worked but in this case it does not increase the errors that are printed
Any ideas what I could do next?
Additional
I use following
android.enableJetifier=true android.useAndroidX=true
I use android studio
3.2
, with kotlin1.2.61
and3.3.0-alpha01
gradle build tools- I use the
3.3.0-alpha01
gradle build tools because I also use evernotecom.evernote:android-state
which does not otherwise - problem is explained here: https://github.com/evernote/android-state/issues/56