Google-services.json is missing

Hay everyone
I tried everything that is mentioned in this thread

But it keep saying

Failed UserError: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:app:processReleaseGoogleServices’. > File google-services.json is missing. The Google Services Plugin cannot function without it. See log for full details.

Please help
here is the code

Here are the magic lines you need:

<preference name="AndroidXEnabled" value="true" />
<plugin name="cordova-plugin-androidx-adapter" />
<preference name="AndroidXEnabled" value="true" />
<plugin name="@havesource/cordova-plugin-push" spec="2.0.0" />
<platform name="android">
    <resource-file src="google-services.json" target="/app/google-services.json" />

You needed to replace phonegap-plugin-push with its modern replacement, which is @havesource/cordova-plugin-push.

You also need to deal with AndroidX, the replacement for the Android Support Library.