Really Rough Notes on Setting Up Firestore for Android


1 min read

We are following the steps described in this readme

  1. Create a project in

  2. Click on the Android icon and follow the instructions

  1. In order to add the SHA1 key (which is needed if you want to handle a Google loging), you need to create a key and get its SHA1.
  • Create a key - I created it on my desktop in a folder called keystore. Then you can retrieve the key after you created it. Use a password that you will remember.
keytool -genkey -v -keystore MY-KEYSTORE-NAME.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias MY-KEY-ALIAS
Keytool -list -v -keystore MY-KEYSTORE-NAME.keystore -alias MY-KEY-ALIAS
  • Copy the SHA-1

  1. Create a Firestore Datatabase

    • Use the Test mode - you can add rules later on.

I ended up having to close Android Studio down (fully) and re-open it. I was getting some error like this:

Error: Run configuration MakeItSo is not supported in the curent project. Cannot obtain the package."