1. 程式人生 > >Manifest merger failed with multiple errors, see logs 怎麼檢視日誌

Manifest merger failed with multiple errors, see logs 怎麼檢視日誌

在android開發的時候,有時候會遇到這樣的問題

Error:Execution failed for task ':test:processDebugManifest'.> Manifest merger failed with multiple errors, see logs
但是要命的是,除了這個log,沒有什麼其他的有用資訊了,怎麼辦?

處理方式是這樣的: 
首先進入命令列,輸入命令

gradlew processDebugManifest --stacktrace
其中,processDebugManifest是log裡面提到的,這個命令是會了獲取更多的log資訊。

發現問題:

由於我匯入的lib的最小sdk與app的最小sdk衝突,改成一致即可解決問題。