Ok, so an empty project with the latest version of GPGS added triggers the error or is it in combination with the other extensions. May I suggest that you try GPGS+IAP and exclude AdMob?
I believe there is a conflict of dependencies between the different extensions, specifically GPGS and AdMob.
You can try to auto-migrate the extensions to AndroidX: Migrating to AndroidX - #4 by britzl