错误:在FontFamilyFont中,无法找到属性android:fontVariationSettings 错误:java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessException:使用参数执行进程/sdk/build-tools/27.0.2/aapt时出错{package -f --no-crunch - 我/sdk/platforms/android-26/android.jar -M /project/kitchen33app/milla/build/intermediates/manifest/androidTest/debug/AndroidManifest.xml -S / project / kitchen33app / milla / build / intermediates / res / merged / androidTest / debug -m -J / project / kitchen33app / milla / build / generated / source / r / androidTest / debug -F / project / kitchen33app / milla / build / intermediates / res / androidTest / debug / resources-debugAndroidTest。 ap_ -0 apk --output-text-symbols / project / kitchen33app / milla / build / intermediates / symbols / androidTest / debug --no-version-vectors} 错误:com.android.ide.common.process.ProcessException:使用参数执行进程/sdk/build-tools/27.0.2/aapt时出错{package -f --no-crunch -I / sdk / platforms / android- 26 / android.jar -M /project/kitchen33app/milla/build/intermediates/manifest/androidTest/debug/AndroidManifest.xml -S / project / kitchen33app / milla / build / intermediates / res / merged / androidTest / debug -m - J / project / kitchen33app / milla / build / generated / source / r / androidTest / debug -F /project/kitchen33app/milla/build/intermediates/res/androidTest/debug/resources-debugAndroidTest.ap_ -0 apk --output- text-symbols / project / kitchen33app / milla / build / intermediates / symbols / androidTest / debug --no-version-vectors} 错误:org.gradle.process.internal.ExecException:进程'命令' /sdk/build-tools/27.0.2/aapt''完成非零退出值1 错误:任务执行失败':milla:processDebugAndroidTestResources'。
无法执行aapt
答案 0 :(得分:0)
只需将颜色代码的引用替换为矢量可绘制文件中的实际颜色,它就可以工作。
答案 1 :(得分:0)
在您的应用 build.gradle 中添加以下行:
defaultConfig{
vectorDrawables.useSupportLibrary = true
}