清单文件配置渠道
<meta-data
android:name="JPUSH_CHANNEL"
android:value="${CHANNEL_VALUE}"/>
报错
Error:Execution failed for task ':app:processBaiduDebugManifest'.> Manifest merger failed : Attribute meta-data#JPUSH_CHANNEL@value value=(baidu) from AndroidManifest.xml:68:45-77is also present at [cn.jiguang:jpush:2.1.9] AndroidManifest.xml:122:13-45 value=(${JPUSH_CHANNEL}).Suggestion: add 'tools:replace="[Android](http://lib.csdn.net/base/android):value"' to <meta-data> element at AndroidManifest.xml:68:5-79 to override.
修改为
···
<meta-data
android:name="JPUSH_CHANNEL"
android:value="${CHANNEL_VALUE}"
tools:replace="android:value"/>
···