title: Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > android.databinding.tool.util.LoggedErrorException: Found data binding errors
body: <p>I'd like to build obfuscated AAR library which makes use of Android data binding. When I use the library with <strong>minifyEnabled</strong> <strong>false</strong> my library build successfully and my testing app works , after enabling ProGuard the  testing app doesn't compile since BR fields in the generated data binding classes can't be found.</p>
  
  <p>Error:  Cannot resolve type for vm </p>
  
  <pre><code>    In layout :: 
          &lt;data&gt;
            &lt;variable
                  name="vm"
                  type="com.XXX.ViewModel"/&gt;
          &lt;/data&gt;
  </code></pre>