cancel
Showing results for 
Search instead for 
Did you mean: 

I am unable to upload to the production channel due to my Andriod manifest.

dravd
Honored Guest

I am working on a MR application. Whenever I attempt to upload to the production channel I get this error:

This APK includes the feature, `com.oculus.experimental.enabled`, which is not allowed. Please remove it from AndroidManifest.xml and retry.

I have removed the line "<uses-feature android:name="com.oculus.experimental.enabled" android:required="true" />" from the manifest, yet the issue persists. Here is my entire manifest:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:installLocation="auto">
  <application android:label="@string/app_name" android:icon="@mipmap/app_icon" android:allowBackup="false">
    <activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:launchMode="singleTask" android:name="com.unity3d.player.UnityPlayerActivity" android:excludeFromRecents="true" android:exported="true">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
        <category android:name="com.oculus.intent.category.VR" />
      </intent-filter>
      <meta-data android:name="com.oculus.vr.focusaware" android:value="true" />
    </activity>
    <meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="false" />
    <meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only" />
    <meta-data android:name="com.oculus.ossplash.background" android:value="passthrough-contextual" />
    <meta-data android:name="com.oculus.telemetry.project_guid" android:value="76f99eb0-5638-4124-901c-3b3917cb882b" />
    <meta-data android:name="com.oculus.supportedDevices" android:value="quest2|questpro|eureka" tools:replace="android:value" />
  </application>
  <uses-feature android:name="android.hardware.vr.headtracking" android:version="1" android:required="true" />
  <uses-permission android:name="com.oculus.permission.USE_ANCHOR_API" />
<!-- <uses-feature android:name="com.oculus.experimental.enabled" android:required="true" /> -->
  <uses-feature android:name="com.oculus.feature.PASSTHROUGH" android:required="true" />
  <uses-permission android:name="com.oculus.permission.USE_SCENE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove"/>
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" tools:node="remove"/>
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" tools:node="remove"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" tools:node="remove"/>
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" tools:node="remove"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGE" tools:node="remove"/>
</manifest>

 

 

 

3 REPLIES 3

akimanje
Member

did you ever find solution? Still having the same issue here

 

xyz.140009
Honored Guest

Replace the existing experimental line with the below line in your custom manifest (make sure to choose custom manifest in Unity):

<uses-feature android:name="com.oculus.experimental.enabled" tools:node="remove" />  

 

RiverExplorer
Member

This may help, it may have been accidentally checked.

Uncheck "use experimental".

I forget where the setting is on unity.  I *think* it is on the OVRCamera or OVRManager. It is a OVR or Meta component.

On Unreal: Project Settings->Plugins->Meta XR->support experimental features.