Error generating APK file values from Google Analytics

Asked

Viewed 36 times

1

I’m having a problem in google Analytics when I will generate the APK this being demonstrated the following error message.

.../app/build/generated/res/google-services/release/values/values.xml
Error:(3) Error: "ga_trackingId" is not translated in "pt" (Portuguese) [MissingTranslation]
Error:(4) Error: "gcm_defaultSenderId" is not translated in "pt" (Portuguese) [MissingTranslation]
Error:(5) Error: "google_app_id" is not translated in "pt" (Portuguese) [MissingTranslation]

Grateful.

  • The problem was solved, I believe that as I am using more than one language (English and Portuguese) it was necessary to add in the folder values-pt the file values of google Analytics.

  • 1

    you are correct. When working with more languages the 2 files must contain the same number of strings. Add your comment as a response.

1 answer

0

The problem was solved, I believe that as I am using more than one language (English and Portuguese) it was necessary to add in the folder values-pt the file values of google Analytics.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.