Getting VR and getSKU error while packaging for android

I am getting the following errrors in the output log while packaging for android
Seems related to VR functions and purchase functions. I am not sure how to get rid of it

 symbol:   variable IN_APP_ITEMS_ON_VR
The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0).
  location: @interface FeatureType
Z:\app\src\main\java\com\epicgames\unreal\GooglePlayStoreHelper.java:295: error: cannot find symbol
								flowParams = flowParams.setVrPurchaseFlow(true);
								                       ^
Make sure all annotation processors are incremental to improve your build speed.
  symbol:   method setVrPurchaseFlow(boolean)
  location: variable flowParams of type Builder
Z:\app\src\main\java\com\epicgames\unreal\GooglePlayStoreHelper.java:300: error: cannot find symbol
								flowParams = flowParams.setVrPurchaseFlow(false);

symbol: method getSku()
location: variable ownedProduct of type Purchase
Z:\app\src\main\java\com\epicgames\unreal\GooglePlayStoreHelper.java:377: error: cannot find symbol
Log.debug("[GooglePlayStoreHelper] - GooglePlayStoreHelper::RestorePurchases - Found Consumable Flag for Product " + ownedProduct.getSku() + " bConsumable = " + bTryToConsume);

Getting same error. Any one have solution for this

I am having the same errors. Any solution would be much appreciated.

Found a solution for this.
Looks like google play billing version 5.0.0 and above dont have those symbols.

I have version 5.1 but still referring to the older billing lib version.
I upgraded the billing version reference to 6.0.0 actually and that worked.
Look for this library com.android.billingclient:billing in ur game or plugin code and change the version to 5.0.0 or above. that would work.