启动工程时出现如下问题
/Users/apple/CircleProgress/app/build/intermediates/manifests/full/debug/AndroidManifest.xml
Error:(14, 24) No resource found that matches the given name (at 'icon' with value '@mipmap/ic_launcher').
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/apple/Library/Android/sdk/build-tools/21.1.2/aapt'' finished with non-zero exit value 1
解决办法
1.这种情况的问题,暂时判断是因为ic_launcher这个图片重复了,因此把app项目中的ic_launcher修改为另外的名字,如果有引用其他library项目,可以把library项目中的ic_launcher图片删除了;
2.或者没有ic_launcher这个图片,添加该图片;
之后重新rebuild一下项目,就可以正常使用了。