Error while build android in Ionic

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

strings.xml file :-

<?xml version='1.0' encoding='utf-8'?>
    <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>

values.xml file:-

<?xml version="1.0" encoding="utf-8"?>
    <string name="default_web_client_id" translatable="false"></string>
    <string name="firebase_database_url" translatable="false"></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"></string>
    <string name="project_id" translatable="false">bfit-gym</string>

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.