Error: style attribute '@android:attr/windowEnterAnimation' not found.
Updated to Android Studio 3.0. Started getting a lot of the following in values.xml: Error:(117, 5) error: style attribute '@android:attr/windowEnterAnimation' not found. Error:(117, 5) error: style attribute '@android:attr/windowExitAnimation' not found.
This stuff is generated by the build, so I haven't touched it. Android Studio claims it is 100% up to date. Any ideas on what is happening here?
There's a relevant Stack Overflow issue that's been logged before about this: https://stackoverflow.com/questions/45952607/error-style-attribute-androidattr-windowexitanimation-not-found
(However, the solution did not work for me. Android just adds the @ symbols straight back in.)
Setting android.enableAapt2=false in the gradle.properties file fixes this issue. See the Stack Overflow question I linked.