android - Data binding in library module -


i have project 2 modules: library , example. working fine since use data binding in library module.

when try use class in example module databinding usage app crashes with:

caused by: java.lang.noclassdeffounderror: failed resolution of:  lcom/app/test/databinding/textitembinding; 

i'm using gradle 2.1.2 , tested 2.2.0-beta2.

both modules has import for:

databinding {   enabled true } 

when move code of databinding single module project code working correctly.

has had similar problem?

found resolution, had:

testcoverageenabled true 

in debug section showing error.


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -