# Cant build for Oculus Quest 2 with Unreal 4.27 and FMOD

**URL:** <https://qa.fmod.com/t/cant-build-for-oculus-quest-2-with-unreal-4-27-and-fmod/18723>\
**Category:** Unreal Engine\
**Tags:** ue4\
**Created:** [May 4, 2022, 9:22pm UTC](https://qa.fmod.com/t/cant-build-for-oculus-quest-2-with-unreal-4-27-and-fmod/18723 "2022-05-04T21:22:33Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [May 27, 2022, 1:43am UTC](https://qa.fmod.com/t/cant-build-for-oculus-quest-2-with-unreal-4-27-and-fmod/18723/13 "2022-05-27T01:43:20Z")

</div>

> [@ShujoSLX](#):
>
> I created the \_APL.xml file, but i couldnt find my AndroidGame.ini file. Is it supposed to be on the files of the plugin or even on my project files? I havent been able to find it or “create it”.

Thank you for giving that a shot, here are the steps in more detail:

1. Go to the root diectory of your project. In this case “IOVR”
2. Open the “Platforms” directory
3. Open the “Android” directory
  - If there is no “Android” folder in here, right click inside and select _New\>Directory_, and change the directory name to “Android”

4. Open the “Config” directory
  - If there is no “Config” folder in here, right click inside and select _New\>Directory_, and change the directory name to “Config”

5. Right click inside the directory and select _New\>Text Document_, and change the file’s name to “AndroidGame.ini”
6. Open the newly created “AndroidGame.ini” file in a text editor and add the following lines:

```auto
[/Script/UnrealEd.ProjectPackagingSettings]
-DirectoriesToAlwaysStageAsNonUFS=(Path="FMOD/Desktop")
+DirectoriesToAlwaysStageAsNonUFS=(Path="FMOD/Mobile")

```

7. Save and close the file

> [@ShujoSLX](#):
>
> I understand there should be the “mobile” folder here, to find the AndroidGame.ini file, but there isnt.

You will need to build your banks for the mobile platform:

1. In your FMOD Studio project go to _Edit\>Preferences\>Build_
2. Look in the “Project Platforms” section. If you do not already have a platform configuration called “Mobile” then right click and select _Add Platform\>Mobile_
3. Close the preferences window and go to _File\>Build All Platforms_

There should be a Mobile subdirectory after this step.

---

_[View the full topic](https://qa.fmod.com/t/cant-build-for-oculus-quest-2-with-unreal-4-27-and-fmod/18723)._
