title: How to solve failed linking file resources on Android Studio 3 error?
body: <p>I have switched to Android Studio 3. 
  After many problems that I fixed, I got these errors:</p>
  
  <p><a href="https://i.stack.imgur.com/BZb6u.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BZb6u.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/y6XkH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/y6XkH.png" alt="enter image description here"></a></p>
  
  <p>Why, in my layout do I get this error?</p>
  
  <p>When I have commented out <code>"@style/TextAppearance.StatusBar.EventContent"</code>, it gets uncommented out again after rebuild.</p>
  
  <p>Above this layout page there is a note:</p>
  
  <blockquote>
    <p>Files under build folder are generated and should not be edited</p>
  </blockquote>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="100dp"
  android:orientation="vertical"&gt;
  
  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="right"
      android:paddingRight="15dp"
      android:text="سامانه پایش همراه"
      android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
      android:textSize="18sp"
      android:textStyle="bold" /&gt;
  </code></pre>
  
  <p>This is the <a href="http://codepad.org/vVSNkvEY" rel="noreferrer">complete</a> layout,<br>
  and you can see whole Gradle config from <a href="http://codepad.org/ZGqx5hXo" rel="noreferrer">this link</a>.<br>
  This is my <a href="http://codepad.org/Zdz5U17n" rel="noreferrer">Gradle</a> project.  </p>