执行失败的应用程序:processDebugResources机器人工作室 [英] Execution failed app:processDebugResources Android Studio

查看:184
本文介绍了执行失败的应用程序:processDebugResources机器人工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用这么到位桶我可以与其他开发人员的工作,但我们似乎无法得到它工作得很好。我拉了变化,从他之后得到这个错误:

 执行失败的任务:应用程序:processDebugResources。
> com.android.ide.common.internal.LoggedErrorException:无法运行命令:
    E:\程序文件(x86)\机器人\ Android的SDK \集结工具\ 19.0.0 \ aapt.exe包-f --no-紧缩 - 即:\ Program Files文件(x86)的\机器人\ Android的SDK \平台\ Android为19 \的android.jar -ME:\文档\智能MY-JOB1 \程序\编译\体现\调试\ AndroidManifest.xml中-SE:\文档\智能MY-JOB1 \程序\编译\水库\所有\调试-AE:\文档\智能MY-JOB1 \程序\编译\资产\调试-m -JE:\文档\智能MY-JOB1 \程序\编译\来源\ r \调试-FE:\文件\智能MY-JOB1 \程序\编译\库\ APP-debug.ap_ --debug模式--custom包com.smartmyjob
错误code:
    -1073741819
 

解决方案

对于我来说,帮助改变buildTools到版本:

  buildToolsVersion21.0.1
 

您会发现里面的文件该设置应用程序/ build.gradle

I'm using bitbucket so I can work with other developer but it seems that we can't get it to work flawlessly. I got this error after pulling the changes from him:

Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
    E:\Program Files (x86)\Android\android-sdk\build-tools\19.0.0\aapt.exe package -f --no-crunch -I E:\Program Files (x86)\Android\android-sdk\platforms\android-19\android.jar -M E:\Documents\smart-my-job1\app\build\manifests\debug\AndroidManifest.xml -S E:\Documents\smart-my-job1\app\build\res\all\debug -A E:\Documents\smart-my-job1\app\build\assets\debug -m -J E:\Documents\smart-my-job1\app\build\source\r\debug -F E:\Documents\smart-my-job1\app\build\libs\app-debug.ap_ --debug-mode --custom-package com.smartmyjob
Error Code:
    -1073741819

解决方案

For me it helped to change the version of buildTools to:

buildToolsVersion "21.0.1"

You will find this setting inside the file app/build.gradle.

这篇关于执行失败的应用程序:processDebugResources机器人工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆