Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
308 views
in Technique[技术] by (71.8m points)

Execution failed app:processDebugResources Android Studio

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)Androidandroid-sdkuild-tools19.0.0aapt.exe package -f --no-crunch -I E:Program Files (x86)Androidandroid-sdkplatformsandroid-19android.jar -M E:Documentssmart-my-job1appuildmanifestsdebugAndroidManifest.xml -S E:Documentssmart-my-job1appuild
esalldebug -A E:Documentssmart-my-job1appuildassetsdebug -m -J E:Documentssmart-my-job1appuildsource
debug -F E:Documentssmart-my-job1appuildlibsapp-debug.ap_ --debug-mode --custom-package com.smartmyjob
Error Code:
    -1073741819
Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...