GoogleVR package for android crashes on startup with the following error:
10-30 11:36:52.658: E/AndroidRuntime(12189): FATAL EXCEPTION: MainThread-UE4 10-30 11:36:52.658: E/AndroidRuntime(12189): Process: com.YourCompany.daydreamVR, PID: 12189 10-30 11:36:52.658: E/AndroidRuntime(12189): java.lang.NoSuchFieldError: No field ui_settings_button_holder of type I in class Lcom/google/vr/cardboard/R$id; or its superclasses (declaration of 'com.google.vr.cardboard.R$id' appears in /data/app/com.YourCompany.daydreamVR-1/base.apk)
Crash occurs when array for Configure GoogleVR to support specific hardware configurations is set to Daydream and/or Cardboard
This issue was encountered during the XR compat pass and crash did not occur on 13832_Galaxy_S9_Mali.
Results: Application crashes on startup
10-30 11:36:52.658: E/AndroidRuntime(12189): FATAL EXCEPTION: MainThread-UE4 10-30 11:36:52.658: E/AndroidRuntime(12189): Process: com.YourCompany.daydreamVR, PID: 12189 10-30 11:36:52.658: E/AndroidRuntime(12189): java.lang.NoSuchFieldError: No field ui_settings_button_holder of type I in class Lcom/google/vr/cardboard/R$id; or its superclasses (declaration of 'com.google.vr.cardboard.R$id' appears in /data/app/com.YourCompany.daydreamVR-1/base.apk) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.cardboard.UiLayer.inflateViewsWithLayoutId(SourceFile:26) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.cardboard.UiLayer.<init>(SourceFile:12) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.ndk.base.GvrUiLayoutImpl.<init>(SourceFile:8) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.ndk.base.GvrUiLayoutImpl.<init>(SourceFile:1) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.ndk.base.GvrLayoutImpl.init(SourceFile:27) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.ndk.base.GvrLayoutImpl.<init>(SourceFile:13) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.ndk.base.GvrLayoutImpl.<init>(SourceFile:1) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.ndk.base.GvrLayoutFactory.createFromCurrentPackage(SourceFile:10) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.ndk.base.GvrLayoutFactory.create(SourceFile:6) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.ndk.base.GvrLayout.init(SourceFile:23) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.google.vr.ndk.base.GvrLayout.<init>(SourceFile:5) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.epicgames.ue4.GameActivity.onCreate(GameActivity.java:2789) 10-30 11:36:52.658: E/AndroidRuntime(12189): at android.app.Activity.performCreate(Activity.java:6955) 10-30 11:36:52.658: E/AndroidRuntime(12189): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126) 10-30 11:36:52.658: E/AndroidRuntime(12189): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927) 10-30 11:36:52.658: E/AndroidRuntime(12189): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3045) 10-30 11:36:52.658: E/AndroidRuntime(12189): at android.app.ActivityThread.-wrap14(ActivityThread.java) 10-30 11:36:52.658: E/AndroidRuntime(12189): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1642) 10-30 11:36:52.658: E/AndroidRuntime(12189): at android.os.Handler.dispatchMessage(Handler.java:102) 10-30 11:36:52.658: E/AndroidRuntime(12189): at android.os.Looper.loop(Looper.java:154) 10-30 11:36:52.658: E/AndroidRuntime(12189): at android.app.ActivityThread.main(ActivityThread.java:6776) 10-30 11:36:52.658: E/AndroidRuntime(12189): at java.lang.reflect.Method.invoke(Native Method) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) 10-30 11:36:52.658: E/AndroidRuntime(12189): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410) 10-30 11:36:52.659: I/System.out(12189): (HTTPLog)-Static: isSBSettingEnabled false 10-30 11:36:52.659: I/System.out(12189): (HTTPLog)-Static: isSBSettingEnabled false 10-30 11:36:52.659: D/Debug(1273): !@DumpState : SHIP 10-30 11:36:52.659: D/Debug(1273): !@DumpState : debug level:0x4f4c 10-30 11:36:52.660: D/Debug(1273): !@Dumpstate : Finally, system will skip dumpstate
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-65983 in the post.
47 |
Component | UE - Platform - XR |
---|---|
Affects Versions | 4.21 |
Target Fix | 4.21 |
Created | Oct 30, 2018 |
---|---|
Resolved | Nov 1, 2018 |
Updated | Sep 16, 2019 |