Flutter firebase cloud messaging doesn't work after changing the json file

  • Run flutter clean from Tool -> Flutter -> clean.
  • Invalidate and restart android studio from File-> .