Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple

报错截图:

Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple

解决方法:

第一步:打开gradle console找出报错位置,如下图可看出报错位置是AndroidManifest.xml文件第76行apikey值找不到:

Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple


第二步:ctrl+鼠标点击上图2位置进入报错具体位置,这里重新注册申请一个apikey放进去,项目正常运行.

Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple

 完成....