03-01-2020 02:07 PM
File = open(path, O_RDONLY, (mode_t)0440);if I change the code to:
error: 'open' has superfluous mode bits; missing O_CREAT? [-Werror,-Wuser-defined-warnings]
File = open(path, O_RDONLY | O_CREAT, (mode_t)0440);
I can compile and deploy, but crashes on app startup on the Go:2020-03-01 16:52:49.318 11882-11899/com.oculus.sdk.vrcinema V/Appl: GetIntentStrings - intent_cmd_ch = ``
2020-03-01 16:52:49.318 11882-11899/com.oculus.sdk.vrcinema V/Appl: GetIntentStrings - intent_pkg_ch = `com.oculus.vrshell`
2020-03-01 16:52:49.318 11882-11899/com.oculus.sdk.vrcinema W/OVR: ASSERT@ R:/new/ovr_sdk_mobile_1.30.0/VrSamples/VrCinema/Projects/Android/jni/../../../../../1stParty/OVR/Include\JniUtils.h(147): Jni != NULL && Object != NULL
--------- beginning of crash
2020-03-01 16:52:49.318 11882-11899/com.oculus.sdk.vrcinema A/libc: Fatal signal 5 (SIGTRAP), code 1 in tid 11899 (main)
2020-03-01 16:52:49.321 11882-11899/com.oculus.sdk.vrcinema E/crash-reporter-support: read() failed, reason: Connection reset by peer
2020-03-01 16:52:49.321 11882-11899/com.oculus.sdk.vrcinema E/crash-reporter-support: native-crash64 client could not receive the status of the request from the crash server
2020-03-01 16:52:49.321 11882-11899/com.oculus.sdk.vrcinema I/crash-reporter: failed to capture minidump crash
03-11-2020 10:52 AM
03-12-2020 10:29 AM
LOCAL_CFLAGS += -Wno-error=user-defined-warnings
12-07-2020 12:39 PM