question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Measurement Service called without google_app_id

See original GitHub issue

Hello @chemerisuk,

First of all, thanks for the plugin. I have downloaded and added google-services.json to the root folder and the build is successful, but when I check the logs using the Android Monitor I get these errors:

11-16 12:29:50.335: E/FA(23669): GoogleService failed to initialize, status: 10, Missing google app id value from from string resources with name google_app_id.
11-16 12:29:50.335: E/FA(23669): Scheduler not set. Not logging error/warn.
11-16 12:29:50.344: E/FA(23669): Measurement Service called without google_app_id
11-16 12:29:50.346: E/FA(23669): Uploading is not possible. App measurement disabled

I checked that google-services.json is correctly copied to platforms/android/google-services.json. Any idea of what may be causing this error?

Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
robationscommented, Jan 12, 2017

The only extra information I can add at the moment is that the Android Firebase docs say to add this line to your gradle file:

apply plugin: 'com.google.gms.google-services'

I can see this line in firebase-hooks, in build-extras.gradle, but not under platforms/android (I searched with recursive grep).

0reactions
FdezRomerocommented, Jan 12, 2017

In my case the file was also at the right locations, but it wasn’t picked up by Firebase. Reinstalling the plugin solved my issue. Sorry I can’t be of more help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

google_app_id missing and Google services failed to inittialize
I've imported a project from my desktop which is already built and runnig. but when try in my computer,it is giving me the...
Read more >
Delaying App Measurement not working as expected
The only way I could stop it was by disabling the service and receiver in the manifest: <service android:name="com.google.android.gms.measurement.
Read more >
No Google App ID or Google Services file provided while ...
Coding example for the question No Google App ID or Google Services file provided while migrating to firebase from Fabric-swift.
Read more >
[SOLVED]SDKBOX Firebase AppMeasurementService not ...
Hello I am integrating sdkbox firebase to cocos2dx v3.3 lua game I created new project and did all steps from Firebase with Lua...
Read more >
AppMeasurementService | Google Play services
public final class AppMeasurementService extends Service ... <service android:name="com.google.android.gms.measurement.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found