I am getting build error
If your exception looks similar to this:
Project/Temp/StagingArea/AndroidManifest-main.xml:4:16-57 Error: Attribute application@theme value=(@style/UnityThemeSelector) from AndroidManifest-main.xml:4:16-57 is also present at AndroidManifest.xml:11:4-51 value=(@android:style/Theme.NoTitleBar). Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest-main.xml:4:3-12:17 to override.
That is the common problem with Vungle Unity SDK 5.3.0.
This is also known issue with Unity Android build. You can solve it using steps below:
- Find and Open AndroidManifest by path: Plugins -> Android -> Vungle_lib
- Find line highlighted below:
- Replace it with new one.
Incorrect line -> android:theme="@android:style/Theme.NoTitleBar">
Correct line -> android:theme="@style/UnityThemeSelector">