# UE4 to Quest 2 Launch Error

**URL:** <https://forums.unrealengine.com/t/ue4-to-quest-2-launch-error/487004>\
**Category:** XR Development\
**Tags:** Oculus, error-launch, unreal-engine, UE4-26, question\
**Created:** [August 4, 2021, 3:48am UTC](https://forums.unrealengine.com/t/ue4-to-quest-2-launch-error/487004 "2021-08-04T03:48:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Connie\_Naysh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/connie_naysh/32/493047_2.png) [@Connie\_Naysh](https://forums.unrealengine.com/u/Connie_Naysh)\
**Post date:** [August 4, 2021, 3:48am UTC](https://forums.unrealengine.com/t/ue4-to-quest-2-launch-error/487004/1 "2021-08-04T03:48:20Z")

</div>

I’m getting the following error when trying to launch my UE4 VR project to my Quest 2:

cmd.exe failed with args /c “C:\Users\*my user profile\*\OneDrive\Documents\Unreal Projects\VRSetup\Intermediate\Android\armv7\gradle\rungradle.bat” :app:assembleDebug

Any ideas as to how to go about solving this?

---

<div class="post-metadata">

**Author:** ![daddy-ohhhhh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@daddy-ohhhhh](https://forums.unrealengine.com/u/daddy-ohhhhh)\
**Post date:** [February 6, 2022, 10:52pm UTC](https://forums.unrealengine.com/t/ue4-to-quest-2-launch-error/487004/2 "2022-02-06T22:52:14Z")

</div>

I’m having the same issue too, can’t seem to get unreal project over to headset, now on day two of trying. Did you have any resolve on this issue?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d6724dd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d6724dd](https://forums.unrealengine.com/u/anonymous_user_6d6724dd)\
**Post date:** [March 14, 2022, 8:41pm UTC](https://forums.unrealengine.com/t/ue4-to-quest-2-launch-error/487004/3 "2022-03-14T20:41:03Z")

</div>

I am having the same problem as well. I’ve been racking my brain for a week and searching the internet, but somehow can’t figure it out. Would appreciate a solution very much.

---

<div class="post-metadata">

**Author:** ![BladeMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BladeMaster](https://forums.unrealengine.com/u/BladeMaster)\
**Post date:** [March 18, 2022, 3:30pm UTC](https://forums.unrealengine.com/t/ue4-to-quest-2-launch-error/487004/4 "2022-03-18T15:30:15Z")

</div>

Follow these steps:

1. Check if you have properly installed Android Studio and Android SDK, NDK, and JDK.

2. Make sure “Full Rebuild” is checked in packaging settings when you build. Try making a build and see if this works.

3. If you still have issues, then close the project, delete the “Saved”, “Intermediate” and “Build” folders. Open the project and try packaging again. Do make sure that “Full Rebuild” is checked.

Let me know if this works for you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d6724dd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d6724dd](https://forums.unrealengine.com/u/anonymous_user_6d6724dd)\
**Post date:** [June 1, 2022, 9:41pm UTC](https://forums.unrealengine.com/t/ue4-to-quest-2-launch-error/487004/5 "2022-06-01T21:41:00Z")

</div>

I figured it out myself a couple of days ago. It was a whole host of things, but soon I will upload a full, in-depth tutorial on how to Package on Oculus Quest 2(using Unreal Engine 4.26) on Youtube. I’ll post again when I finish it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d6724dd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d6724dd](https://forums.unrealengine.com/u/anonymous_user_6d6724dd)\
**Post date:** [October 30, 2022, 1:29am UTC](https://forums.unrealengine.com/t/ue4-to-quest-2-launch-error/487004/6 "2022-10-30T01:29:50Z")

</div>

Somehow just saw your message. Very helpful! Thanks
