Today I encountered the following error as I was building an Android app:
DataBinderMapperImpl.java:18: error: cannot find symbol
import net.catzie.myproject.databinding.ActivityMainBindingImpl;
^
symbol: class ActivityMainBindingImpl
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
Leave a Reply