This typically happens on a device/emulator if you haven't logged in to a Google account in the Play Store/Chrome. Make sure your emulator has Google Play store, login to a Google account by opening chrome or Play Store and then run your app again to see if it works.