Forum Discussion

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

How to properly sign an Oculus Go apk?

Hi. I want to put my Unity game on Oculus Release Channel to generate some keys and give them to alpha-testers.
But I can't validate my apk. I've got following errors:

Необходимо настроить исключение из недавнего (android:excludeFromRecents в AndroidManifest.xml).
APK main activity intent filter set to android.intent.category.LAUNCHER, but must be android.intent.category.INFO. Your app must only appear in Oculus Home. It must not appear in the phone’s launcher.
APK main activity intent filter set to android.intent.category.LEANBACK_LAUNCHER, but must be android.intent.category.INFO. Your app must only appear in Oculus Home. It must not appear in the phone’s launcher.

I've already generated .jks keystore file in Android Studio and put a link to it in Players Settings. On my device, through sideloading, the game is working.
  • The case was solved. I've put AndroidManifest.xml file in Assets/Plugins/Android folder and switched build system from Internal to Gradle. After hours of googling and reading documentation it is done.
    Was not expecting that simple actions like making keys for testers would be so hard. I think that process is simple enough for gamedev companies but not for one-man indie-developers.

2 Replies

Replies have been turned off for this discussion
  • DanOrgan's avatar
    DanOrgan
    Honored Guest
    The case was solved. I've put AndroidManifest.xml file in Assets/Plugins/Android folder and switched build system from Internal to Gradle. After hours of googling and reading documentation it is done.
    Was not expecting that simple actions like making keys for testers would be so hard. I think that process is simple enough for gamedev companies but not for one-man indie-developers.
    • MonolithGames's avatar
      MonolithGames
      Partner

      where is "I've put AndroidManifest.xml file in Assets/Plugins/Android folder" Located? kindly share what's the process