Scenario
When packaging an Unreal Engine project for Android, the build will fail with a message similar to the following:
Task :app:processReleaseManifest FAILED
Z:\app\src\main\AndroidManifest.xml:3:147-195 Error:
Attribute application@name value=(com.epicgames.ue4.GameApplication) from AndroidManifest.xml:3:147-195
is also present at [:sdk-release:] AndroidManifest.xml:32:18-66 value=(com.vivox.sdk.VivoxSDKApplication).
Suggestion: add 'tools:replace="android:name"' to <application> element at AndroidManifest.xml:3:3-48:17 to override.
Environment
This issue can occur in Unreal Engine versions 4.27+ and 5.0+.
Resolution
To implement the suggested fix from the packaging error log, modify your {YourProject}/Config/DefaultEngine.ini
file to include the following:
[/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
+ExtraManifestNodeTags=xmlns:tools="http://schemas.android.com/tools"
+ExtraApplicationNodeTags=tools:replace="android:name"
Comments
0 comments
Article is closed for comments.