Android Question Firebase Message and GoogleMap

ttsolution

Member
Licensed User
Longtime User
Dear All,

I have an App with google map in it. The App run smoothly, now I want to includes firebase messaging to this App. The following error raised if I checked the library FirebaseNotifycations (I just check to use the firebase messaging, I did not write any code related to firebase messaging)

Code: Copy
error: package com.google.android.gms.location does not exist
_fusedlocationprovider1.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_locationrequest1.getObject()));
  ^

Many thanks for your help

Jonh,
 
Upvote 0
Thanks DonManfred, I will check again.

Yes, followed the guide line I created a separated small App to test send & receive Firebase Push message. Everything was very good, I could sent and receive push message. But if I added google map to this project the error was raised. If I take out either google map or firebase the App can run without error.
 
Upvote 0
The error you posted is not related to Firebase. It is even not related to GoogleMap.

The error seems to be related to fusedlocationprovider.
error: package com.google.android.gms.location does not exist
_fusedlocationprovider1.RequestLocationUpdates((com.google.android.gms.location.LocationRequest)(_locationrequest1.getObject()));
^
 
Upvote 0
Back
Top