title: No resource identifier found for attribute 'layout_behavior' in package
body: <p>My application worked fine until I tried to add a library to it. After I added the library, Android Studio gives me the following error:</p>
  
  <blockquote>
    <p>Error:(26) No resource identifier found for attribute
    'layout_behavior'  in package 'inf..'</p>
  </blockquote>
  
  <p>This is my build.gradle file: </p>
  
  <pre><code>dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:23.0.1'
      compile 'com.android.support:support-v4:23.0.1'
      compile 'com.ogaclejapan.smarttablayout:utils-v4:1.3.0@aar'
      compile 'com.ogaclejapan.smarttablayout:library:1.3.0@aar'
      compile 'com.jpardogo.materialtabstrip:library:1.1.0'
      // compile 'com.lorentzos.swipecards:library:1.0.9@aar'
      compile 'com.android.support:cardview-v7:21.0.3'
      compile 'com.android.support:recyclerview-v7:21.0.3'
      compile 'com.melnykov:floatingactionbutton:1.3.0'
      compile project(':swipelib')
  }
  </code></pre>
  
  <p>This is the xml which causes the error:</p>
  
  <pre><code> &lt;android.support.v4.view.ViewPager
      android:id="@+id/viewpager"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      app:layout_behavior="@string/appbar_scrolling_view_behavior"/&gt;
  </code></pre>
  
  <p>I tried the following:</p>
  
  <ul>
  <li>Removed the library</li>
  <li>Reset Android Studio and my computer</li>
  <li>Reverted to previous version of my code from git.</li>
  </ul>
  
  <p>However, the error persists. How do I resolve this?</p>