Error while build android in Ionic

Hi,
i am trying to build my ionic app using the (Ionic cordova build android) but the occur every time while build android.
Error:-

strings.xml file :-

<?xml version='1.0' encoding='utf-8'?>
<resources>
    <string name="app_name">MyApp</string>
    <string name="launcher_name">@string/app_name</string>
    <string name="activity_name">@string/launcher_name</string>
    <string name="google_app_id">@string/google_app_id</string>
    <string name="google_api_key">@string/google_api_key</string>
</resources>

values.xml file:-

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="default_web_client_id" translatable="false">338850216501-l7679q2l5ft530fctce3ovjgc9o1r3me.apps.googleusercontent.com</string>
    <string name="firebase_database_url" translatable="false">https://bfit-gym.firebaseio.com</string>
    <string name="gcm_defaultSenderId" translatable="false">338850216501</string>
    <string name="google_api_key" translatable="false">"My Api Key"</string>
    <string name="google_app_id" translatable="false">"My Api id"</string>
    <string name="google_crash_reporting_api_key" translatable="false">AIzaSyBMmrqrdJ680nzHo_EbYWPWJhZf_f-P6Z8</string>
    <string name="google_storage_bucket" translatable="false">bfit-gym.appspot.com</string>
    <string name="project_id" translatable="false">bfit-gym</string>
</resources>

Anyone please give me the solution. I try a lot to solve this problem but same error occur. plz… :- :pray: :pray: :pray:

seems like google_app_id and google_api_key are same.

Facing the same issue.

Looks like this is coming from the usage of cordova-support-google-services in this plugin. There’s an open PR in that plugin’s repo to fix this issue: chemerisuk/cordova-support-google-services#26

This post was flagged by the community and is temporarily hidden.