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
2
Answers
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.
If you read the error message:
It clearly indicates that you are missing Google Play services.
From the documentation:
If you are using AVD manager, you can install a phone that says Google Play (not Google API) next to it:
See also
Is Google Play Store supported in avd emulators?
How to handle GooglePlayServicesRepairableException and GooglePlayServicesNotAvailableException
How to use Firebase API on Android without the Google Play Service dependency?