Android Manifest Malformed - UE 5.1.1 - Meta Quest 2

Hello,

I’m currently developing a VR game for Meta Quest 2 in standalone. To do so, I use UE 5.1.1 and Meta XR v1.82 plugin.

I’m trying the build the android package to install my game on the headset, however, I have problems regarding the android manifest…
The apk file is generated but when I’m trying to install it using adb, I get this error :

adb: failed to install .\LifeVair-arm64.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl1532285952.tmp/base.apk (at Binary XML file line #213): requires an android:value or android:resource attribute]

I’ve tried to check my manifest file but there are multiple of them in the [Project]/Intermediate folder and most of them are only 90 lines long.

I’ve tried to delete the intermediate folder and rebuild the apk and I got those errors :

I can’t find anyone with the same problem… Any clue on how to fix it ?
I feel like it might be a problem with Meta XR plugin but can’t find a way to check what’s wrong…

Thanks!

Alright I fixed the problem !

The AndroidManifest file that I was looking for was located in : [projectfolder]\Intermediate\Android\arm64.

The line concerning the Headset color space was missing the android:value value :
<meta-data android:name="com.oculus.ossplash.colorspace" android:value="!P3" />

To resolve it, I went in Project Settings > Plugins > Meta XR and change the value of the Color Space from Unknown to P3 :

4 Likes