执行失败应用程序:processDebugResources Android Studio [英] Execution failed app:processDebugResources Android Studio

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

问题描述

我正在使用 bitbucket,所以我可以与其他开发人员合作,但似乎我们无法让它完美地工作.从他那里提取更改后,我收到此错误:

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

推荐答案

对我来说,将 buildTools 的版本更改为:

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

buildToolsVersion "21.0.1"

您将在文件 app/build.gradle 中找到此设置.

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

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

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