【发布时间】:2015-08-31 18:59:58
【问题描述】:
Android 新手,尝试构建一个干净的“空白应用”Android 项目。
我收到以下错误,这很令人困惑,因为我使用 SDK 管理器安装了 24 版,不确定它为什么要查找 23 版。不过,它没有给我任何类型的行号可供查看,有什么建议吗?谢谢。
Configuration on demand is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72220Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42220Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugAidl'.
> aidl is missing
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.243 secs
Executing tasks: [:app:assembleDebug]
Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> failed to find Build Tools revision 23.0.0 rc1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.136 secs
【问题讨论】:
-
你的 gradle 文件长什么样?
-
当您将构建工具更新为
23.0.0 rc2时,它无法加载23.0.0 rc1
标签: android android-sdk-tools build-tools