Today I encountered the following error as I was building an Android app:
1 |
DataBinderMapperImpl.java:18: error: cannot find symbol<br />import net.catzie.myproject.databinding.ActivityMainBindingImpl;<br />^<br />symbol: class ActivityMainBindingImpl<br />location: package net.catzie.myproject.databinding |
Turns out, there’s an error in the related XML file, activity_main.xml! 😂
For other possible solutions, this StackOverflower answer may help: android: data binding error: cannot find symbol class