Hello, everyone! While playing in Gear VR the app closes without showing any error, and thus opens the Oculus Gear VR App. We are in development and we do not know if it is the Samsung Galaxy S7 Edge or the Oculus Gear VR, could you give me some reference or tip. In programming we are using Try Catch for some events, could it be Exceptions that is causing the app to close? Please help me!
Development in Unity 2017.3.1, OVRPlugin 1.28.0. I´m try the log of android mobile phone, the reference: http://hightalestudios.com/2017/02/solved-samsung-gearvr-application-closed-unexpectedly/
The log:
08-31 12:53:55.881 5650 5650 I ApplicationPackageManager: load=com.Eguru.CaixaVR, bg=192-192, dr=192-192, forDefault=false
08-31 12:53:55.882 23607 23607 V dalvik-internals: Hooking function _ZN3art12FaultManager35EnsureArtActionInFrontOfSignalChainEv
08-31 12:53:55.882 23607 23607 V dalvik-internals: hooked _ZN3art12FaultManager35EnsureArtActionInFrontOfSignalChainEv using trap ()
08-31 12:53:55.882 23607 23607 V dalvik-internals: hooked signal using trap ()
08-31 12:53:55.882 23607 23607 V dalvik-internals: hooked sysv_signal using trap ()
08-31 12:53:55.882 23607 23607 V dalvik-internals: hooked bsd_signal using trap ()
08-31 12:53:55.883 23607 23607 V dalvik-internals: hooked sigaction using trap ()
08-31 12:53:55.884 23607 23607 V DexLibLoader: resolved non-canonical data directory /data/user/0/com.oculus.home to /data/data/com.oculus.home
08-31 12:53:55.887 23607 23607 V DexLibLoader: using exo res provider failed
08-31 12:53:55.887 23607 23607 V DexLibLoader: java.io.FileNotFoundException: /data/local/tmp/exopackage/com.oculus.home/secondary-dex/metadata.txt (No such file or directory)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at java.io.FileInputStream.open(Native Method)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at java.io.FileInputStream.<init>(FileInputStream.java:146)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.facebook.common.dextricks.DexLibLoader$ExoPackageResProvider.open(DexLibLoader.java:500)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.facebook.common.dextricks.DexLibLoader.obtainResProviderInternal(DexLibLoader.java:394)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.facebook.common.dextricks.DexLibLoader.obtainResProvider(DexLibLoader.java:359)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.facebook.common.dextricks.DexLibLoader.loadAllImpl(DexLibLoader.java:107)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.facebook.common.dextricks.DexLibLoader.loadAll(DexLibLoader.java:255)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.facebook.common.dextricks.DexLibLoader.loadAll(DexLibLoader.java:263)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.facebook.common.dextricks.DexLibLoader.loadAll(DexLibLoader.java:267)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.facebook.common.dextricks.DexLibLoader.loadAll(DexLibLoader.java:271)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.oculus.home.HomeApplication.onCreate(HomeApplication.java:35)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1032)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5885)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at android.app.ActivityThread.-wrap3(ActivityThread.java)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1703)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at android.os.Handler.dispatchMessage(Handler.java:102)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at android.os.Looper.loop(Looper.java:154)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at android.app.ActivityThread.main(ActivityThread.java:6692)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at java.lang.reflect.Method.invoke(Native Method)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
08-31 12:53:55.887 23607 23607 V DexLibLoader: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
08-31 12:53:55.887 23607 23607 V DexLibLoader: Nothing to do in DexLibLoader.loadAll: no resProvider
08-31 12:53:56.775 23635 23635 I ShellJNI: ---------- NativeInit ----------
08-31 12:53:56.776 23635 23635 I ShellJNI: LibraryLoadTime: 735.797030
08-31 12:53:56.777 23635 23635 I [OAR] Shell: --------------- OvrApp::OvrApp() ---------------
08-31 12:53:56.777 23635 23635 I [OAR] Shell: Automation enabled? 0
08-31 12:53:56.777 23635 23635 I [OAR] Shell: Initializing VR Shell with VersionName 3.0.10 and VersionCode 119241644
08-31 12:53:56.778 23635 23635 I [OAR] ShellVideoPlayer: created
08-31 12:53:56.786 5018 6990 I MediaFocusControl: AudioFocus requestAudioFocus() from uid/pid 10258/23635 clientId=android.media.AudioManager$235fa18com.oculus.video.VideoPlayer$9befc71 req=1 flags=0x0
08-31 12:53:56.786 23635 23635 D AudioManager: requestAudioFocus status : 1
08-31 12:53:56.786 23635 23635 D VideoPlayer: requestAudioFocus(): GRANTED audio focus
08-31 12:53:56.788 23635 23635 V fb-UnpackingSoSource: locked dso store /data/user/0/com.oculus.vrshell/lib-main
08-31 12:53:56.791 23635 23635 I fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/com.oculus.vrshell/lib-main
08-31 12:53:56.791 23635 23635 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.oculus.vrshell/lib-main
08-31 12:53:56.796 23635 23635 I art : Thread[1,tid=23635,Native,Thread*=0xf0005400,peer=0x76743638,"main"] recursive attempt to load library "/data/app/com.oculus.vrshell-1/lib/arm/libfb.so"
08-31 12:53:56.827 23635 23635 D LigerHttpClient: Initializing LigerHttpClient!
08-31 12:53:56.860 5018 7003 D SamsungAlarmManager: Cancel Alarm calling from uid:10254 pid :23607 / op:PendingIntent{39dbd47: PendingIntentRecord{a055d61 com.oculus.home startService}}
08-31 12:53:56.868 23635 23635 I [OAR] Shell: StartVrThread