Skip to main content
Inspiring
July 30, 2016

APK Validation Failure with Unity 5.4

Hey

According to the notes by @cybereality  - the newest Unity may cause validation failure.

Didn't have a problem before - now I get:
  • Exclude from Recents (android:excludeFromRecents in AndroidManifest.xml) must be set to true.

  • APK's main activity intent filter set to `android.intent.category.LAUNCHER`, but must be `android.intent.category.INFO`


My AndroidManifest is set up properly.  What is the work around??

This topic has been closed for replies.

4 replies

Inspiring
August 1, 2016
Sadly, this is a known issue. We are working to fix it ASAP. In the meantime, you will have to unpack your APK, edit the XML, and re-pack it as described here.
Inspiring
August 2, 2016
Thanks! I did stumble upon that - didn't want to start fiddling with that because maybe the problem wasn't there.  It's weird that it still works if I build, push to device, I can still play it via the Oculus home menu.  

I'll keep lurking about to see when a proper fix is in place.  Thanks @vrdaveb for the answer.
Up and Coming
August 2, 2016
I've never been able to launch an application from the home menu as a signed APK loaded and installed to my phone, is there something I'm doing wrong?
Inspiring
August 2, 2016
Apps won't appear in Oculus Home until you've submitted them to the store. While debugging, you can sideload them to test.