首页 > 代码库 > Error:Execution failed for task ':app:processDebugManifest'. 合并冲突

Error:Execution failed for task ':app:processDebugManifest'. 合并冲突

1.

Error:Execution failed for task ‘:app:processDebugManifest‘.
> Manifest merger failed : Attribute application@allowBackup value=http://www.mamicode.com/(false) from AndroidManifest.xml:16:9-36
    is also present at [com.github.devlight.shadowlayout:library:1.0.2] AndroidManifest.xml:24:9-35 value=http://www.mamicode.com/(true).
    Suggestion: add ‘tools:replace="android:allowBackup"‘ to <application> element at AndroidManifest.xml:15:5-47:19 to override.

2.根据建议添加

 <application
               ……
              tools:replace="android:allowBackup"
    
              ……
       >   

 

Error:Execution failed for task ':app:processDebugManifest'. 合并冲突