解决方法:https://developer.android.com/studio/build/manifest-merge?hl=zh-cn
在AndroidManifest中添加
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="cn.tuniu.guide">
<application tools:node="replace">
tools:node="replace"
完全替换低优先级元素。 也就是说,如果低优先级清单中有匹配元素,请将其忽略并完全按照其在此清单中显示样子来使用该元素。