Try running flutter clean then flutter pub get. After that try to run the app again. This helped me a few times.
flutter clean
flutter pub get