Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
danny.chavez.9237's avatar
danny.chavez.9237
Honored Guest
3 years ago

How to Launch App within Oculus Quest 2 using Meta Quest Developer Hub 3.2

Hi, I am using Unreal Engine 5.02 as engine, and I am using the VR Template from the engine. I can generate the apk file without any problem. I add the apk file from my computer to MQDH 3.2 and everything seems fine. The problem that I am facing is the Launch App option from the 3 dot is not available in MQDH. The only thing that I can do is uninstall. However, I already have another apk from a different project and the Launch App option it is available. Has anyone known how to solve this problem?

BTW, I checked to File Manager ---> Apps---> and tried to launch the app and it is not working. Same problem as described in my previous paragraph. I am connecting my Oculus Quest 2 using the link cable.

 

The image below shows that the other apk have the option to be Launched within the Quest 2.

 

1 Reply

  • Maybe not what you're after, and maybe it doesn't suit your workflow, but just in case it's useful:

    I've just been using batch files:

    To install:

    installme.bat  (drag your apk onto this to install it)
    ```
    adb install -r %1
    adb shell am start -n com.thing.thing/com.unity3d.player.UnityPlayerActivity
    pause
    ```

    And to stop:

    stopme.bat
    ```
    adb shell am force-stop com.thing.thing
    adb shell pm clear com.thing.thing
    pause
    ```

    Obvs change the default activity for Unreal; you can get this via e.g.
    ```
    cd "C:\wherever\androidstudiosdk\build-tools\28.0.3"
    c:
    aapt dump xmltree %1 AndroidManifest.xml
    pause
    ```