极光推送集成

清单文件配置渠道

  

报错

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  element at AndroidManifest.xml:68:5-79 to override.

修改为
···
android:name="JPUSH_CHANNEL"
android:value="${CHANNEL_VALUE}"
tools:replace="android:value"/>
···

你可能感兴趣的:(极光推送集成)