Oculus Quest App crashes on startup (4.27, Oculus Source Build)

G’day!
I’m struggling to launch my game on my Quest 1, using the Oculus source build of 4.27. It just crashes upon startup, and not much info is given in the logcat:

    --------- beginning of crash
2022-04-30 17:43:37.945 5773-5773/com.YourCompany.AppNameE/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.YourCompany.AppName, PID: 5773
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/api/Api$zzf;
        at com.google.android.gms.games.Games.<clinit>(Unknown Source:0)
        at com.epicgames.ue4.GameActivity.onCreate(GameActivity.java:3234)
        at android.app.Activity.performCreate(Activity.java:7825)
        at android.app.Activity.performCreate(Activity.java:7814)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3418)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2025)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7389)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.api.Api$zzf" on path: DexPathList[[zip file "/data/app/com.YourCompany.AppName-bHMsTJ7aFPp7zNzI3Am6Hg==/base.apk"],nativeLibraryDirectories=[/data/user/0/com.YourCompany.AppName, /data/app/com.YourCompany.AppNamebHMsTJ7aFPp7zNzI3Am6Hg==/lib/arm64, /data/app/com.YourCompany.AppName-bHMsTJ7aFPp7zNzI3Am6Hg==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at com.google.android.gms.games.Games.<clinit>(Unknown Source:0) 
        at com.epicgames.ue4.GameActivity.onCreate(GameActivity.java:3234) 
        at android.app.Activity.performCreate(Activity.java:7825) 
        at android.app.Activity.performCreate(Activity.java:7814) 
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306) 
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254) 
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3418) 
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) 
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) 
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2025) 
        at android.os.Handler.dispatchMessage(Handler.java:107) 
        at android.os.Looper.loop(Looper.java:214) 
        at android.app.ActivityThread.main(ActivityThread.java:7389) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936) 
2022-04-30 17:43:48.701 5773-5796/com.YourCompany.AppName I/Process: Sending signal. PID: 5773 SIG: 

Does anyone have any idea how to fix this?
Thanks so much in advance!

1 Like

Huge thanks to the legendary Sidequest Shane for this fix!
Disable the “Online Subsystem Google Play” plugin and it’ll work!
I hope this helps someone!

2 Likes

I can confirm that this worked for me.

Do you and the other guy have a crypto wallet? I’d like to send a $10 tip for you guys!

Hi i will try to use TM into my quest…
Is there a how to use?
Or just download the app en then working? With or withouth link cable/pc?
Os=r do i need to use the sideload?

Hope some can tell me?