in the terminal window, you need to run “$ flutter clean” in the project root, and “$ flutter pub upgrade”, and possibly delete the Pods/ folder and get everything reset from scratch . Also might need to use “file/invalidate cache” (in android studio).