Android Studio 3 beta 2 Build失败

当我开始我的第一Kotlin项目和安装Android Studio 3测试版2我得到这个问题

错误:(29,38)找不到与给定名称相匹配的资源(位于'layout_width',值为'@ dimen / abc_dropdownitem_icon_width')。

错误:(20,26)找不到与给定名称匹配的资源(在'alpha'处,值为'@ dimen / highlight_alpha_material_colored')。

错误:(29,38)找不到与给定名称相匹配的资源(位于'layout_width',值为'@ dimen / abc_dropdownitem_icon_width')。

错误:(59,39)找不到与给定名称相匹配的资源(位于'layout_width',值为'@ dimen / abc_dropdownitem_icon_width')。

错误:(20,26)找不到与给定名称匹配的资源(在'alpha'处,值为'@ dimen / highlight_alpha_material_colored')。

错误:java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessException:执行进程时出错/home/programmer/Android/Sdk/build-tools/26.0.1/aapt with arguments {package -f –no-crunch -I /home/programmer/Android/Sdk/platforms/android-26/android.jar -M / home / programmer / AndroidStudioProjects / MyFirstAppKotlin / app / build / intermediates / manifests / full / debug / AndroidManifest。 xml -S / home / programmer / AndroidStudioProjects / MyFirstAppKotlin / app / build / intermediates / res / merged / debug -m -J / home / programmer / AndroidStudioProjects / MyFirstAppKotlin / app / build / generated / source / r / debug -F / home / programmer / AndroidStudioProjects / MyFirstAppKotlin / app / build / intermediates / res / debug / resources-debug.ap_ –custom-package com.example.programmer.myfirstappkotlin -0 apk –output-text-symbols / home / programmer / AndroidStudioProjects / MyFirstAppKotlin / app / build / intermediates / symbols / debug –no-version-vectors}

错误:com.android.ide.common.process.ProcessException:执行进程时出错/home/programmer/Android/Sdk/build-tools/26.0.1/aapt带参数{package -f –no-crunch -I / home / programmer / Android / Sdk / platforms / android-26 / android.jar -M /home/programmer/AndroidStudioProjects/MyFirstAppKotlin/app/build/intermediates/manifests/full/debug/AndroidManifest.xml -S / home / programmer / AndroidStudioProjects / MyFirstAppKotlin / app / build / intermediates / res / merged / debug -m -J / home / programmer / AndroidStudioProjects / MyFirstAppKotlin / app / build / generated / source / r / debug -F / home / programmer / AndroidStudioProjects / MyFirstAppKotlin / app / build / intermediates / res / debug / resources-debug.ap_ –custom-package com.example.programmer.myfirstappkotlin -0 apk –output-text-symbols / home / programmer / AndroidStudioProjects / MyFirstAppKotlin / app / build /中间体/符号/调试 – 无版本向量}

错误:org.gradle.process.internal.ExecException:进程'命令'/home/programmer/Android/Sdk/build-tools/26.0.1/aapt''以非零退出值1结束

错误:执行任务':app:processDebugResources'失败。

无法执行aapt

谢谢你的帮助 。

尝试更换线路

ext.kotlin_version

在build.gradle – 项目中

ext.kotlin_version ='1.1.2-4'