【发布时间】:2017-08-19 02:30:54
【问题描述】:
我打开android项目,出现这个错误,我该如何解决?
信息:Gradle 任务 [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar]
警告:android.dexOptions.incremental 属性已被弃用,它对构建过程没有影响。
/Users/Ren/Desktop/17live/app/src/main/res/values/styles.xml
错误:(515, 5) 未找到样式属性“@android:attr/windowEnterAnimation”
错误:(515, 5) 未找到样式属性“@android:attr/windowExitAnimation”
错误:(577, 5) 样式属性 '@android:attr/windowEnterAnimation' 未找到
错误:(577, 5) 未找到样式属性“@android:attr/windowExitAnimation”
错误:/Users/Ren/Desktop/17live/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3534 样式属性“@android:attr/windowEnterAnimation”未找到
错误:/Users/Ren/Desktop/17live/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:3796 样式属性“@android:attr/windowEnterAnimation”未找到
错误:链接引用失败
错误:java.util.concurrent.ExecutionException:com.android.builder.internal.aapt.AaptException:AAPT2 链接失败:
错误:com.android.builder.internal.aapt.AaptException:AAPT2 链接失败:
错误:任务 ':app:processDebugResources' 执行失败。
执行 aapt 失败 信息:在 13 秒内构建失败 信息:10个错误 信息:1 个警告 信息:在控制台中查看完整的输出
【问题讨论】:
-
为什么跑题???