Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
IndieCed's avatar
IndieCed
Explorer
7 years ago

AndroidManifest.xml for Oculus Go (APK signed in debug mode error)

Hey everyone,

I am trying to upload a version of my game to my dashboard, and then come the pleasure to deal with the AndroidManifest.xml...

When I generate mine through Unity I got one that does not work.

So on the documentation they give some specification :
https://developer.oculus.com/distribute/latest/concepts/publish-mobile-manifest/

Like to use this one :
https://developer.oculus.com/documentation/mobilesdk/latest/concepts/mobile-native-manifest/

And add that android:debuggable must be false.

Except that on the example file there is no line for debuggable, why is that?

I added it to my file + other lines I had to add to pass different errors while importing and here is now my manifest:

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="myGameName" android:versionCode="1" android:versionName="1.0" android:installLocation="auto">
<application>
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
<activity 
android:screenOrientation="landscape" 
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:configChanges="density|keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|uiMode"
android:launchMode="singleTask"
android:name="myGameName"
android:resizeableActivity="false"
android:debuggable="false"
android:excludeFromRecents="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.INFO"/>
</intent-filter>
</activity>
</application> 
<uses-sdk android:minSdkVersion="21"/>
<uses-feature android:glEsVersion="0x00030001" />
</manifest>

Now I have this error when I try to import :
APK signed in debug mode (translated from french)

Could it be possible to give an example of this file working for Oculus Go?
Replies have been turned off for this discussion