Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

thread priority security exception make sure the apk is signed

I am trying to build my project in oculus gear vr using unity5 , but when I deploy my app I get the below error

thread priority security exception make sure the apk is signed

I have even created keystore

enter image description here

any suggestion why I might be facing this error in gear vr

like image 851
Mina Fawzy Avatar asked Aug 17 '15 07:08

Mina Fawzy


1 Answers

I figure out the answer , to run apps in gear vr , you must have signature file for used device by get device id & use site below

https://developer.oculus.com/osig/

after you get the file , you should put inside your project in this directory

YourProjectName --- > assets --> Plugins ---> android ---> assets

(notice if you don't find this directory make sure your build platform android , from build setting -- > switch platform)

then what you if you get this error

why this error happen ??

when I work in project I copy signature file with its meta file

so to fix error , just copy signature file without its meta file

UPDATED ANSWER

How you can get device id?

There many ways to approach that but best way to write in terminal

adb devices

You should see a list of attached devices like this:

List of devices attached
    ce0551e7 device

enter image description here

or if you are lazy like me use this app its working very well it called SideloadVR DeviceID

like image 119
Mina Fawzy Avatar answered Oct 20 '22 10:10

Mina Fawzy