Tag Archives: Android Application

Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution

Import project, compile error as follows:

error: style attribute '@android:attr/windowEnterAnimation' not found.
Message{kind=ERROR, text=error: style attribute '@android:attr/windowEnterAnimation' not found., sources=[/Users/***/projects/AndroidStudioProjects/treader-master/app/src/main/res/values/styles.xml:26:5-29:13], original message=, tool name=Optional.of(AAPT)}

Solution:
– in Project/ gradle.properties Add to android.enableAapt2=false
- search the reference location of the string windowenteranimation and remove the @ in item , as follows & lt; item name=“ android:windowEnterAnimation " >@anim/bottom</item >