1
W/GooglePlayServicesUtil(16697): com.example.try_1 requires the Google Play Store, but it is missing.
E/GooglePlayServicesUtil(16697): GooglePlayServices not available due to error 9
W/Firestore(16697): (24.7.0) [GrpcCallProvider]: Failed to update ssl context: com.google.android.gms.common.GooglePlayServicesNotAvailableException

this is what prints me in the terminal of android studio when i wanted to display the data in firestore

MendelG
  • 14,885
  • 4
  • 25
  • 52
Amine Ln
  • 11
  • 1

2 Answers2

0

I think it is about your Emulator that does not support Google Play or unsigned. Maybe you can try another emulator which includes Google Play Services.

You may go and create a new virtual device. It should be supporting Google Play Service.

0

If you read the error message:

com.google.android.gms.common.GooglePlayServicesNotAvailableException

It clearly indicates that you are missing Google Play services.

From the documentation:

Some Firebase Android SDKs depend on Google Play services, which means they will only run on devices and emulators with Google Play services installed.


If you are using AVD manager, you can install a phone that says Google Play (not Google API) next to it:

enter image description here

See also

MendelG
  • 14,885
  • 4
  • 25
  • 52