title: Cannot find the getter for attribute 'android:text' with value type java.lang.String on null
body: <p>I just updated AndroidStudio to 3.0.1 from 2.3 version for one of my projects. AndroidStudio is now complaining about data binding issue when I try to build the project. I am using alpha release of gradle classpath </p>
  
  <pre><code>com.android.tools.build:gradle:3.1.0-alpha07
  
  Error:(67, 17) Cannot find the getter for attribute 'android:text' with value type java.lang.String on null. 
  </code></pre>
  
  <p>The line it's complaining about uses two-way data binding with <code>EditText</code>.</p>
  
  <pre><code>&lt;android.support.design.widget.TextInputEditText
                  android:id="@+id/groupNumber"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:hint="@string/text_hint"
                  android:imeOptions="actionNext"
                  android:maxLength="@{viewModel.maxLength}"
                  android:maxLines="1"
                  android:text="@={viewModel.title}"
                  android:textColor="@color/red"
                  app:filter="@{viewModel.inputType}"/&gt;
  </code></pre>
  
  <p>The viewModel is an instance of class whose <code>parent(BaseViewModel)</code> extends <code>BaseObservable</code>.</p>
  
  <p>Please note that it was working fine previously and it stopped working when I updated <strong>AndroidStudio</strong>. I tried <strong>clean/build</strong> and <strong>invalidate/restart</strong> options, no luck. I would really appreciate any pointers on what I'm missing. </p>