title: How to fix "No resource identifier found for attribute ‘style’ in package ‘android’"?
body: <p>I created a style and applied it to a button, but when I try to build I get the exception:</p>
  
  <p><code>No resource identifier found for attribute ‘style’ in package ‘android’</code></p>
  
  <p>This is the button's code:</p>
  
  <pre><code>&lt;Button
              android:text="Settings"
              android:style="@style/SecondaryButton"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:id="@+id/settingsButton"
              android:layout_weight="0" /&gt;
  </code></pre>
  
  <p>What could be wrong?</p>