# Build continually fails when building for Quest 2

**URL:** <https://forums.unrealengine.com/t/build-continually-fails-when-building-for-quest-2/488560>\
**Category:** Mobile\
**Tags:** build-error, unreal-engine, question\
**Created:** [September 9, 2021, 7:17pm UTC](https://forums.unrealengine.com/t/build-continually-fails-when-building-for-quest-2/488560 "2021-09-09T19:17:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anseyder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anseyder](https://forums.unrealengine.com/u/anseyder)\
**Post date:** [September 9, 2021, 7:17pm UTC](https://forums.unrealengine.com/t/build-continually-fails-when-building-for-quest-2/488560/1 "2021-09-09T19:17:32Z")

</div>

Hi All,

I have tried with 4.26 and 4.27, using the old Oculus VR and the new VR templates. I have followed numerous tutorials online but no matter what i do Unreal keeps failing to build to my Quest 2. I am totally at my wits end, I have no idea why this is happening, and I am not particularly technical. Please can someone provide some help?

As follows:

LogPlayLevel: Building 4 actions with 12 processes…  
LogPlayLevel: [1/4] SharedPCH.Core.h [armv7]  
LogPlayLevel: In file included from :403:  
LogPlayLevel: Warning: (2,9): warning: ‘ **ANDROID\_API** ’ macro redefined [-Wmacro-redefined]  
LogPlayLevel: #define **ANDROID\_API** 21  
LogPlayLevel: ^  
LogPlayLevel: (394,9): note: previous definition is here  
LogPlayLevel: #define **ANDROID\_API**  **ANDROID\_MIN\_SDK\_VERSION**  
LogPlayLevel: ^  
LogPlayLevel: 1 warning generated.  
LogPlayLevel: [2/4] VRTest.cpp [armv7]  
LogPlayLevel: [3/4] VRTest-armv7.so  
LogPlayLevel: Error: ld.lld: error: undefined symbol: \_\_aeabi\_unwind\_cpp\_pr1  
LogPlayLevel: \>\>\> referenced by Module.Launch.cpp  
LogPlayLevel: \>\>\> D:/Unreal/UE\_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text.\_ZN16FAppEventManager11GetInstanceEv+0x0)  
LogPlayLevel: \>\>\> referenced by Module.Launch.cpp  
LogPlayLevel: \>\>\> D:/Unreal/UE\_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text.\_ZN16FAppEventManager15DequeueAppEventEv+0x0)  
LogPlayLevel: \>\>\> referenced by Module.Launch.cpp  
LogPlayLevel: \>\>\> D:/Unreal/UE\_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text.\_ZN16FAppEventManager17ReleaseMicrophoneEb+0x0)  
LogPlayLevel: \>\>\> referenced 151504 more times  
**LogPlayLevel: Error: ld.lld: error: undefined symbol: \_\_aeabi\_unwind\_cpp\_pr0**  
LogPlayLevel: \>\>\> referenced by Module.Launch.cpp  
LogPlayLevel: \>\>\> D:/Unreal/UE\_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text.\_ZN16FAppEventManager4TickEv+0x0)  
LogPlayLevel: \>\>\> referenced by Module.Launch.cpp  
LogPlayLevel: \>\>\> D:/Unreal/UE\_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text.\_ZZN16FAppEventManager4TickEvEN4Impl21ExecCheckImplInternalEv+0x0)  
LogPlayLevel: \>\>\> referenced by Module.Launch.cpp  
LogPlayLevel: \>\>\> D:/Unreal/UE\_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text.\_ZN16FAppEventManager17ExecWindowResizedEv+0x0)  
LogPlayLevel: \>\>\> referenced 342020 more times  
**LogPlayLevel: Error: clang++: error: linker command failed with exit code 1 (use -v to see invocation)**  
LogPlayLevel: Took 164.847146s to run UnrealBuildTool.exe, ExitCode=6  
**LogPlayLevel: UnrealBuildTool failed.** See log for more details. (C:\Users\ansey\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal+UE\_4.26\UBT-VRTest-Android-Development.txt)  
**LogPlayLevel: AutomationTool exiting with ExitCode=6 (6)**  
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 164.567547  
**LogPlayLevel: BUILD FAILED**  
**PackagingResults: Error: Launch failed! Unknown Error**  
LogAudioDerivedData: Display: Building compressed audio format OGG hash OGG10000-1-1-1-1-1 wave CompileFailed…  
LogAudioDerivedData: Display: Compression Quality for SoundWave **/Engine/EditorSounds/Notifications/CompileFailed.CompileFailed will be modified from 40 to 40.**  
LogAudioDerivedData: Display: Updated SoundWave-\>RawPCMDataSize from 0 to 89512 while cooking **SoundWave /Engine/EditorSounds/Notifications/CompileFailed.CompileFailed.**

---

<div class="post-metadata">

**Author:** ![corndoggy667](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@corndoggy667](https://forums.unrealengine.com/u/corndoggy667)\
**Post date:** [March 5, 2022, 2:12pm UTC](https://forums.unrealengine.com/t/build-continually-fails-when-building-for-quest-2/488560/2 "2022-03-05T14:12:36Z")

</div>

i have the exact same problem. did you ever work it out?

---

<div class="post-metadata">

**Author:** ![corndoggy667](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@corndoggy667](https://forums.unrealengine.com/u/corndoggy667)\
**Post date:** [April 19, 2022, 4:50pm UTC](https://forums.unrealengine.com/t/build-continually-fails-when-building-for-quest-2/488560/3 "2022-04-19T16:50:25Z")

</div>

if anyone is having this issue still; use armv6 not armv7 in the packaging section
