I am using android\'s data binding library for views in a library project
i have added the following line in my root gradle file
classpath \'
Get inspiration from @Bolein95 say.Because it depend on a library that does not support androidx(no setting databinding=true),Written by a colleague who has left.I copy a few necessary files from his github repo, it work!