Android 当我运行这个项目时,会出现这些错误,如何解决它们?

Android 当我运行这个项目时,会出现这些错误,如何解决它们?,android,Android,为什么会出现这些错误 done/app/build/intermediates/res/merged/debug/values-v28/values-v28.xml Error: (7, 41) No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius'). Error: (7, 41) No resource fo

为什么会出现这些错误

done/app/build/intermediates/res/merged/debug/values-v28/values-v28.xml 

Error: (7, 41) No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius'). 

Error: (7, 41) No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius'). 

Error: Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: Failed to execute aapt

这些与构建版本问题27.0.3有关。在应用程序中,首先降低构建工具版本,删除.gradle、.idea和gradle文件夹,并解决重建项目问题

使用
buildToolsVersion
添加您的gradle。请提供您正在尝试执行的操作的详细信息以及导致此错误的代码上次代码正常工作但现在出现错误更新您的构建工具最近更新了构建工具和平台吗?这似乎与昨晚发布的AndroidP开发者预览版有关。