cancel
Showing results for 
Search instead for 
Did you mean: 

APK Validation Failure with Unity 5.4

ProfessorTroy
Adventurer
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??

4 REPLIES 4

vrdaveb
Oculus Staff
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.

ProfessorTroy
Adventurer
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.

Swamp7hing
Protege
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?

vrdaveb
Oculus Staff
Apps won't appear in Oculus Home until you've submitted them to the store. While debugging, you can sideload them to test.