<分区>
我打开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' 执行失败。
Failed to execute aapt Information:BUILD FAILED in 13s Information:10 errors Information:1 warning Information:See complete output in console