Gear VR PackageSetting

Hi~ There is a question.
I wanna package my project to Gear VR device(S8). When i check “Configure the AndroidManifest for deployment to oculus Mobile”,Then open the package in Gear VR. it will crash and prompts “thread priority security exception. make sure the APK is signed”. But when i not check that option, it will not start in VR mode. So i wanna know if i wanna package my project to Gear VR device, How to set my packaging settings?

This question is asked all the time should have googled - top result is one of my previous answers: