title: android studio 3.0 error: style attribute '@android:attr/windowEnterAnimation' not found
body: <p>I had followed steps of migrating to android studio 3.0 updgradation.</p>
  
  <p>build.gradle</p>
  
  <pre><code>    flavorDimensions 'dimensionless'
  </code></pre>
  
  <blockquote>
    <p>D:\R\merchant\projapp\popuplibrary\build\intermediates\bundles\debug\res\values\values.xml
    Error:(28, 5) error: style attribute '@android:attr/windowEnterAnimation' not found.<br/>
    C:\Users\user.gradle\caches\transforms-1\files-1.1\appcompat-v7-25.3.1.aar\f7bb6db2aa55d14683d1c9ddd8d49e03\res\values\values.xml
    Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
    <br>Error:Execution failed for task ':popuplibrary:processDebugAndroidTestResources'.
    Failed to execute aapt</p>
  </blockquote>
  
  <p>Facing same issue but it is apccompat library also creating issue in my case.</p>
  
  <p><a href="https://stackoverflow.com/questions/45767077/style-attribute-androidattr-windowenteranimation-not-found">style attribute &#39;@android:attr/windowEnterAnimation&#39; not found</a></p>
  
  <p><br>
  gradlewrapper:</p>
  
  <pre><code>distributionBase=GRADLE_USER_HOME
  distributionPath=wrapper/dists
  zipStoreBase=GRADLE_USER_HOME
  zipStorePath=wrapper/dists
  distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
  </code></pre>
  
  <p>build.gradle app:</p>
  
  <pre><code>   productFlavors {
                  dev {
                      applicationIdSuffix '.dev'
                      versionName "1.0"
                      versionNameSuffix '-dev'
                      }
  qa {
                      applicationIdSuffix '.qa'
                      versionName "1.0"
                      versionNameSuffix '-qa'
                      }
  }
  
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
          exclude group: 'com.android.support', module: 'support-annotations'
      })
  
  
      compile 'com.android.support:appcompat-v7:25.3.1'
      compile 'com.android.support:design:25.3.1'
      compile 'com.android.support:cardview-v7:25.3.1'
      compile 'com.android.support.constraint:constraint-layout:1.0.2'
      testCompile 'junit:junit:4.12'
      //Butter Knife
      compile 'com.jakewharton:butterknife:8.7.0'
      annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'
  
      compile project(':popuplibrary')
  }
  </code></pre>