skip to Main Content
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


  1. 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.

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search