Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Oculus Mobile SDK API version not compatible #918

Closed
jiaming233 opened this issue Jan 9, 2019 · 1 comment
Closed

Oculus Mobile SDK API version not compatible #918

jiaming233 opened this issue Jan 9, 2019 · 1 comment

Comments

@jiaming233
Copy link

Hardware

Mi VR Standalone

Steps to Reproduce

1.Build APK with Oculus Mobile SDK 1.19.0
2.Launch the app

Current Behavior

App crashed.

Expected Behavior

No crash.

Possible Solution

I tried to build the apk with Oculus Mobile SDK 1.20.0. There was no crash, but I got the error message that "Oculus Update Required To Learn How..." cuz the VRApi version of Mi VR Standalone is 1.19.0

Is there any requirement of oculus mobile sdk version? Any solution to fix it?

Error Logs and Stack Traces

2019-01-09 11:58:34.908 19038-19059/? A/VrApiLoader: The requested API version in ovrInitParms (1.1.20.1) is not compatible with this version of VrApi Loader (1.1.19.0)!
--------- beginning of crash

2019-01-09 11:58:34.908 19038-19059/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 19059 (Thread-4)
2019-01-09 11:58:34.969 19060-19060/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-01-09 11:58:34.969 19060-19060/? A/DEBUG: Build fingerprint: 'mi/v1o/pacific:7.1.2/N2G48H/592:user/release-keys'
2019-01-09 11:58:34.969 19060-19060/? A/DEBUG: Revision: '0'
2019-01-09 11:58:34.969 19060-19060/? A/DEBUG: ABI: 'arm'
2019-01-09 11:58:34.969 19060-19060/? A/DEBUG: pid: 19038, tid: 19059, name: Thread-4 >>> org.mozilla.vrbrowser <<<
2019-01-09 11:58:34.969 19060-19060/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2019-01-09 11:58:34.971 19060-19060/? A/DEBUG: Abort message: 'The requested API version in ovrInitParms (1.1.20.1) is not compatible with this version of VrApi Loader (1.1.19.0)!'
2019-01-09 11:58:34.971 19060-19060/? A/DEBUG: r0 00000000 r1 00004a73 r2 00000006 r3 00000008
2019-01-09 11:58:34.971 19060-19060/? A/DEBUG: r4 cadc8978 r5 00000006 r6 cadc8920 r7 0000010c
2019-01-09 11:58:34.971 19060-19060/? A/DEBUG: r8 e02cbb50 r9 e2f93999 sl e02cbb00 fp cadc83d8
2019-01-09 11:58:34.971 19060-19060/? A/DEBUG: ip 00000000 sp cadc8308 lr ea3a6cd3 pc ea3a95ec cpsr 600f0010
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: backtrace:
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #00 pc 0004a5ec /system/lib/libc.so (tgkill+12)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #1 pc 00047ccf /system/lib/libc.so (pthread_kill+34)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #2 pc 0001da5d /system/lib/libc.so (raise+10)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #3 pc 00019455 /system/lib/libc.so (__libc_android_abort+34)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #4 pc 000174b0 /system/lib/libc.so (abort+4)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #5 pc 00002720 /data/app/org.mozilla.vrbrowser-1/lib/arm/libvrapi.so (vrapi_Initialize+288)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #6 pc 000d0ba5 /data/app/org.mozilla.vrbrowser-1/lib/arm/libnative-lib.so (_ZN4crow22DeviceDelegateOculusVR5State10InitializeEv+348)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #7 pc 000d094d /data/app/org.mozilla.vrbrowser-1/lib/arm/libnative-lib.so (_ZN4crow22DeviceDelegateOculusVR6CreateERNSt6__ndk110shared_ptrIN3vrb13RenderContextEEEP11android_app+384)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #8 pc 000cefc1 /data/app/org.mozilla.vrbrowser-1/lib/arm/libnative-lib.so (android_main+524)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #9 pc 000e1a51 /data/app/org.mozilla.vrbrowser-1/lib/arm/libnative-lib.so
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #10 pc 000477a3 /system/lib/libc.so (_ZL15__pthread_startPv+22)
2019-01-09 11:58:34.975 19060-19060/? A/DEBUG: #11 pc 00019eb1 /system/lib/libc.so (__start_thread+6)
2019-01-09 11:58:35.370 584-584/? E/cnss-daemon: Invalid mac address: 0x555555e110M
2019-01-09 11:58:35.493 995-19062/? W/ActivityManager: Force finishing activity org.mozilla.vrbrowser/.VRBrowserActivity

@jiaming233
Copy link
Author

Solved.
Renew a project and use SDK 1.19.0.
Not sure why replace the SDK in /third_party and rebuild didn't work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant