Forum Discussion
Anonymous
3 years agoovr upload fails due to missing android exported in manifest
I started receiving the following failures from ovr-platform-util when uploading quest apks with multiple apps and no changes to my manifest file: The AndroidManifest.xml contains an <intent-filter...
CritterHP5
2 years agoProtege
Got this error after setting the target sdk to 32.
Update
Console output pointed to this page
https://developer.android.com/about/versions/12/behavior-changes-12#exported
I used apktool to decompile/compile the apk and updated the manifest by adding android:exported="false" to parent components that contain an intent filter element and was able to bypass the error. Just gotta figure out how to sign/align apk. Not sure if any issues with this method.
Update - got a build to upload and run. For the queries tag, exported = true. For the activity tag exported = true. If I used false, the app would build and upload but wouldn't launch. Used apktool to decompile and compile, zipalign to align, and apksigner to sign.
Update - Alternative solution; UE4 Project Settings > Extra Tags for UE4 Game Activity <activity> node
- android:exported="true"
- Didn't need to create a ManifestRequirementAdditions.txt with a copy of the queries block with android:exported. Also, it removed the android:exported property from it anyway.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 15 days ago