FolioReader-Android icon indicating copy to clipboard operation
FolioReader-Android copied to clipboard

Error: style attribute '@android:attr/windowEnterAnimation' not found.

Open sdilizio opened this issue 9 years ago • 1 comments

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.)

sdilizio avatar Oct 31 '17 04:10 sdilizio

Setting android.enableAapt2=false in the gradle.properties file fixes this issue. See the Stack Overflow question I linked.

sdilizio avatar Oct 31 '17 05:10 sdilizio