任务执行失败':x:processDefaultFlavorDebugResources'

时间:2013-12-09 17:35:18

标签: android execution

我正在为我的学校开发一个应用程序,当我运行它时,会发生错误:

  

任务执行失败':Organitza el teu temps:processDefaultFlavorDebugResources'。

     

无法在任务'上调用IncrementalTask​​.taskAction():Organitza el teu temps:processDefaultFlavorDebugResources'

这是构建日志:

Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0
:Organitza el teu temps:preBuild UP-TO-DATE
:Organitza el teu temps:preDefaultFlavorDebugBuild UP-TO-DATE
:Organitza el teu temps:preDefaultFlavorReleaseBuild UP-TO-DATE
:Organitza el teu temps:prepareComAndroidSupportAppcompatV71900Library UP-TO-DATE
:Organitza el teu temps:prepareDefaultFlavorDebugDependencies
:Organitza el teu temps:compileDefaultFlavorDebugAidl UP-TO-DATE
:Organitza el teu temps:compileDefaultFlavorDebugRenderscript UP-TO-DATE
:Organitza el teu temps:generateDefaultFlavorDebugBuildConfig UP-TO-DATE
:Organitza el teu temps:mergeDefaultFlavorDebugAssets UP-TO-DATE
:Organitza el teu temps:mergeDefaultFlavorDebugResources
:Organitza el teu temps:processDefaultFlavorDebugManifest
:Organitza el teu temps:processDefaultFlavorDebugResourcesC:\Users\David\AndroidStudioProjects\Organitzaelteutemps\Organitza el teu temps\build\res\all\defaultFlavor\debug\layout\main.xml:7: error: Error: No resource found that matches the given name (at 'text' with value '@string/hello').
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':Organitza el teu temps:processDefaultFlavorDebugResources'.
> Could not call IncrementalTask.taskAction() on task ':Organitza el teu temps:processDefaultFlavorDebugResources'

* 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: 8.193 secs

0 个答案:

没有答案