Android Studio 3.0 Beta5编译错误
信息:Gradle tasks [:app:generateDebugSources,:app:generateDebugAndroidTestSources,:app:mockableAndroidJar] /Users/nomankhan/.gradle/caches/transforms-1/files-1.1/appcompat- v7-26.0.2.aar/e49d52b74823e3f0f5498aa69c33e733/res/values/values.xml 错误:(1419,5)样式属性'@android:attr/windowEnterAnimation'未找到 错误:(1419,5)样式属性'@android :attr/windowExitAnimation'找不到 错误:/Clients/Shailesh/Evita/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:1935未找到样式属性'@android:attr/windowEnterAnimation' 错误:连接引用失败 错误:java.util.concurrent.ExecutionException:com.android.b uilder.internal.aapt.AaptException:AAPT2链接失败: 错误:com.android.builder.internal.aapt.AaptException:AAPT2链接失败: 错误:执行任务':app:processDebugResources'失败。Android Studio 3.0 Beta5编译错误
Failed to execute aapt Information:BUILD FAILED in 5s Information:7 errors Information:0 warnings Information:See complete output in console
style.xml
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
<attr name="sc_corner_radius" format="dimension" />
<attr name="sc_border_width" format="dimension" />
<attr name="sc_tint_color" format="color" />
<attr name="sc_checked_text_color" format="color" />
android.enableAapt2=false
应将此行代码gradle.properties
请编辑的问题和s哈里'values.xml' –
@PeterHaddad我编辑的问题,请看看 –
你在哪里使用'windowsExitanimation'? –