A "Manifest merger failed" error during an Android build usually means there are conflicts or inconsistencies in your AndroidManifest.xml, typically when manifests from several libraries (including the Pushwoosh SDK) are merged. Common causes and solutions:
- Duplicate permissions: check whether permissions used by Pushwoosh (e.g.
INTERNET,ACCESS_NETWORK_STATE) are declared more than once. Remove duplicate<uses-permission>tags from your app's manifest. - minSdkVersion too low: the current Pushwoosh Android SDK (6.10.0) requires
minSdkVersion 23or higher. RaiseminSdkVersionin your app-levelbuild.gradleto at least 23. (The SDK is built againstcompileSdkVersion/targetSdkVersion36.) - Other conflicts: use Android Studio's "Merged Manifest" view (bottom of the manifest editor) to inspect the combined manifest. It highlights conflicting activities, services, providers and other elements, and shows which library contributed each entry.
If the error persists, rebuild with more verbose logging (./gradlew assembleDebug --info or --debug) to pinpoint the exact conflicting node.
Comments
0 comments
Please sign in to leave a comment.