我将开发一个应用程序但是当我构建默认的MainActivity(实际上没有修改,只是打开项目)以确保一切正常时我得到以下构建错误:
Information:Gradle tasks [clean,
:app:generateDebugSources,
:app:generateDebugAndroidTestSources,
:app:compileDebugSources,
:app:compileDebugAndroidTestSources]
:clean UP-TO-DATE
:app:clean
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72103Library
:app:prepareComAndroidSupportSupportV42103Library
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources
:app:mergeDebugResources
Error:org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/cameron/Android/Sdk/build-tools/19.1.0/aapt''
:app:mergeDebugResources FAILED
Error:Execution failed for task ':app:mergeDebugResources'.
> Error: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/cameron/Android/Sdk/build-tools/19.1.0/aapt''
Information:BUILD FAILED
Information:Total time: 14.079 secs
Information:2 errors
Information:0 warnings
Information:See complete output in console
我知道安装正确的东西很可能是个问题,但我不确定未安装什么。