Search Unity

Question Not able to upload to Oculus Store

Discussion in 'VR' started by saifshk17, Mar 2, 2021.

  1. saifshk17

    saifshk17

    Joined:
    Dec 4, 2016
    Posts:
    488
    I am building for Quest and signing the package with V2. I am also creating store-based Android Manifest file. Unfortunately the upload stops at 2nd step where I receive the error -

    "The APK was signed with the V1 signature system, previously marked with V2 and signed again with V1. Such APKs are considered corrupted and cannot be installed."

    Here is my Android Manifest file:

    Code (CSharp):
    1.  
    2. <?xml version="1.0" encoding="utf-8" standalone="no"?>
    3. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    4.     android:installLocation="auto">
    5.     <uses-feature android:name="android.hardware.vr.headtracking" android:version="1" android:required="true" /><!-- Request the headset DoF mode -->
    6.     <!-- Request the headset handtracking mode -->
    7.     <application
    8.         android:label="@string/app_name"
    9.         android:icon="@mipmap/app_icon">
    10.         <activity
    11.             android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
    12.             android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
    13.             android:launchMode="singleTask"
    14.             android:name="com.unity3d.player.UnityPlayerActivity"
    15.             android:excludeFromRecents="true">
    16.             <intent-filter>
    17.             <action android:name="android.intent.action.MAIN" />
    18.              <category android:name="com.oculus.intent.category.VR" />
    19.              <category android:name="android.intent.category.LAUNCHER" />
    20.             </intent-filter>
    21.         </activity>
    22.         <meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="false" />
    23.         <meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
    24.         <meta-data android:name="com.oculus.supportedDevices" android:value="quest|quest2" />
    25.         <meta-data android:name="com.oculus.vr.focusaware" android:value="true" />
    26.     </application>
    27. </manifest>
    28.  
    29.  
    Unity Version 2019.2.21f1 (LTS) - Latest
     
    Last edited: Mar 3, 2021
  2. skyliner51

    skyliner51

    Joined:
    Dec 30, 2022
    Posts:
    1
    this happend to me but on the 2021 unity version but it said its not 64 bit
     
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,058
    Enable il2cpp and arm64. Please don't necro posts if it's a different issue.

    For the original issue of this thread, you have to put android support at api 23 as minimum