Inserting element data which contains the same tag as to insert into can create an infinite loop of adding the element to itself.
1. Create project
2. Edit GearVR_UPL.xml to add this to androidManifestUpdates:
<setElement result="test" xml="<manifest/>"/> <addElement tag="manifest" name="test"/>
3. Package for Android
Packaging will never stop with this bug.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-47665 in the post.