今天上班第一天调试公司的工程就出现下面的错误.
AGPBI: {"kind":"SIMPLE","text":"D:\\AndroidStudioProjects\\Past-master\\app\\build\\intermediates\\res\\wandoujia\\debug\\drawable-hdpi\\ic_launcher.png: Original is here. The version qualifier may be implied.","position":{},"original":"D:\\AndroidStudioProjects\\Past-master\\app\\build\\intermediates\\res\\wandoujia\\debug\\drawable-hdpi\\ic_launcher.png: Original is here. The version qualifier may be implied."}
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processWandoujiaDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\android_Studio_sdk\build-tools\21.1.1\aapt.exe'' finished with non-zero exit value 1
解决方法是:
在mipmap中定义了图片就不要再drawable中再次定义了(包括ic_launcher)!!!