Gradle File Issue: Android studio 2.2 beta 1 Error : Failed to resolve: com.android.databinding:library:1.2.1
<p>I updated Android studio and after that my project stopped building with errors in the gradle file:</p>

<pre><code>Error:Failed to resolve: com.android.databinding:library:1.2.1
&lt;a href="openFile:D:/code/TwoWayDataBindingExample/app/build.gradle"&gt;Open File&lt;/a&gt;&lt;br&gt;&lt;a href="open.dependency.in.project.structure"&gt;Show in Project Structure dialog&lt;/a&gt;
</code></pre>

<p>The same error appears for me even if I create a brand new project and only activate data binding with the setting:</p>

<pre><code>dataBinding{
    enabled = true
}
</code></pre>

<p>How do I fix this?</p>

<hr>

<p>SDK: 24 preview 2</p>

<p>platform tool:  24.0.1</p>

<p>sdk-tools: 25.2.1 rc1   </p>