I structure my project through componentization, and the shell engineering app, relies on components An and B as well as the underlying library C. Auroral push is needed in the project, so I added
to the build.gradle of the base library Ccompile "cn.jiguang.sdk:jpush:3.0.9"
compile "cn.jiguang.sdk:jcore:1.1.7"
at the same time, according to the requirements of auroral SDK,
is added to the build.gradle of the base library C.manifestPlaceholders = [
JPUSH_PKGNAME: "com.qsjh.test",
JPUSH_APPKEY : "6pl2c1qloa69ad60061709md", // APPKEY
JPUSH_CHANNEL: "developer-default",
]
but an error is reported after compilation:
Error:Execution failed for task ":moduleA:processDebugAndroidTestManifest".
> Manifest merger failed with multiple errors, see logs
F:\addroidStudioPrjs\TestApp\moduleA\build\intermediates\manifest\tmp\manifestMerger8803862843345368556.xml Error:
Attribute meta-data-sharpPUSH_APPID@value at manifestMerger8803862843345368556.xml requires a placeholder substitution but no value for <JPUSH_APPKEY> is provided.
the same manifestPlaceholders, must be added to the build.gradle files of component An and component B, but the build.gradle of component An and component B does not depend on the aurora SDK, but on the underlying library C. Why?