Compile error on android when including OnlineSubsystemGooglePlay

Hi, packaging for android astc(oculus quest) I’m having a compile error when I include OnlineSubsystemGooglePlay

> Task :app:compileDebugJavaWithJavac FAILED
The following annotation processors are not incremental: compiler-1.1.1.jar (android.arch.lifecycle:compiler:1.1.1).
Make sure all annotation processors are incremental to improve your build speed.
                               ^
Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:3231: error: package GoogleApiClient does not exist
                GoogleApiClient.Builder gbuilder = new GoogleApiClient.Builder(this);
                                                                      ^
Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:3234: error: cannot find symbol
                gbuilder.addApiIfAvailable(Games.API, Games.SCOPE_GAMES);
                                           ^
  symbol:   variable Games
  location: class GameActivity
Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:3234: error: cannot find symbol
                gbuilder.addApiIfAvailable(Games.API, Games.SCOPE_GAMES);
                                                      ^
  symbol:   variable Games
  location: class GameActivity
Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:3235: error: cannot find symbol
                googleClient = gbuilder.build();
                ^
  symbol:   variable googleClient
  location: class GameActivity
Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:3241: error: cannot find symbol
            Log.debug("googleClient is " + ((googleClient == null) ? "disabled" : "valid"));
                                             ^
  symbol:   variable googleClient
  location: class GameActivity
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 errors

The error message you are facing notifies that there is a problem with the GoogleApiClient library when trying to compile your project for Android using the Oculus Quest.

It seems like you are trying to use the Google Play Services API (com.google.android.gms) in your project, but it is not correctly configured or included in your project dependencies.

In order to fix this issue, you need to make sure that you have the following dependencies added to your build.gradle file:

dependencies {
    implementation 'com.google.android.gms:play-services-games:16.0.0'
    implementation 'com.google.android.gms:play-services-auth:16.0.1'
}

Also, you need to configure your project to use the latest version of the Google Play Services API. you can do this by going to the “Project Settings” → “Android SDK”, and make sure that you have the latest version of the “Google Play Services” package installed.

If the problem persists, you can also try cleaning and rebuilding the project, or checking for updates of the Google Play Services library.