Manifest merge failed

Manifest merge failed

Normally it is strange if this error happened. Potential causes might be when some strange project or some strange libraries/modules setup is done. Manifest merge errors happen usually in Unity but sometimes even in AndroidStudio.

Example of such error (message might be different based on build tool and version):
Manifest merger failed : Attribute activity#com.startapp.android.publish.ads.list3d.List3DActivity@theme value=(@android:style/ButtonBar) from AndroidManifest.xml:74:13-53

is also present at [:sdk] AndroidManifest.xml:30:13-49 value=(@android:style/Theme).

Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:73:9-74:56 to override.

We can’t give you a direct solution here because it is vary from case to case. Main point is that one or more project or library settings conflict with one another. You can read this article it might help. https://developer.android.com/studio/build/manifest-merge

You can also read this if you don’t know what manifest file is https://developer.android.com/guide/topics/manifest/manifest-intro

    • Related Articles

    • Project does not compile?

      This is the most problematic case especially if it is Unity project. So probably try following solutions from this documentation or just contact support@appmediation.com. Here are some reasons that might cause project to stop compiling: Manifest ...
    • My project compiled successfully but why I see no ads?

      Unity only - First thing to check if test is on real device or emulator or using Unity preview and if its on Unity preview then we do not support Unity studio preview mode so its expected.  Both Unity and Android Studio. Please check Android device ...
    • Can I set more then one banner on the same screen?

      No, At the moment only one banner per screen (more precise: per Activity) is allowed.
    • Every time I close an ad a new one appears?

      The reason for this was incorrect implementation. You left appmediation auto load feature enabled (it loads new ad when old one is closed) and set ads to be displayed right away once they are ready. Solution: How to use auto load feature? ...
    • Duplicate library or class?

      In some cases you might end up having same library attached more then once. It might even have different name, different version and file format (.aar/.jar) but still cause this error. Also it might be attached as physical file inside the project and ...