Forum Discussion

ProfessorTroy's avatar
ProfessorTroy
Adventurer
10 years ago

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

4 Replies

Replies have been turned off for this discussion
  • 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.
  • 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.
  • 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?
  • Apps won't appear in Oculus Home until you've submitted them to the store. While debugging, you can sideload them to test.