Forum Discussion
Anonymous
6 years agoError building to Oculus Quest
I keep getting this error when I try to build the application to Oculus Quest using the Oculus > Build APK and Run.
Then i tried to directly opening the app in the Quest itself, but it always force quit.
Does anyone had this issue too?
I'm using Unity 2018.3.2f1
OVRADBTool java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.oculus.UnitySample/.UnityPlayerActivity } from null (pid=20336, uid=2000) not exported from uid 10012
at android.os.Parcel.readException(Parcel.java:1692)
at android.os.Parcel.readException(Parcel.java:1645)
at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:3146)
at com.android.commands.am.Am.runStart(Am.java:648)
at com.android.commands.am.Am.onRun(Am.java:396)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:51)
at com.android.commands.am.Am.main(Am.java:124)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:262)
UnityEngine.Debug:LogError(Object)
OVRADBTool:RunCommand(String[], WaitingProcessToExitCallback, String&, String&) (at Assets/Oculus/VR/Editor/OVRADBTool.cs:204)
OculusBuildApp:DeployAPK() (at Assets/Oculus/VR/Editor/OVRBuild.cs:510)
OculusBuildApp:OVRBuildRun() (at Assets/Oculus/VR/Editor/OVRBuild.cs:285)
<>c:<StartBuildAndRun>b__29_0() (at Assets/Oculus/VR/Editor/OVRBuild.cs:257)
Then i tried to directly opening the app in the Quest itself, but it always force quit.
Does anyone had this issue too?
I'm using Unity 2018.3.2f1
1 Reply
- Anonymous[UPDATE] I was able to fix this by removing the androidmanifest.xml and recreate it through the Oculus menu in Unity
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device