- Open android studio Tools->Flutter->Clean
- Go to File -> Invalidate Caches / Restart
- Or open terminal run "flutter clean"
- Remove pubspec.lock
- Double check the Flutter SDK Path config correcty - https://tppr.me/qn6dP
Or open the terminal and try this script:
flutter clean
flutter pub cache repair
flutter pub get
Rebuild the project again
- Open termimal on Mac or CommandLine on Window:
flutter channel stable flutter upgrade --force
- Also run "flutter doctor" and fix all the issues
- Update the Flutter SDK Path from Android Studio - https://tppr.me/qn6dP
-
Remove following files and folders (see this screenshot - https://tppr.me/vwqX0 )
- Go to ios: remove Pods folder, Podfile and fodfile.lock, .symlink folder (this folder is hidden) - remove build folder
-
Open XCode, File > Workspace Settings > Select 'New Build System' - https://tppr.me/CRHLC
-
Open terminal (at ios folder) and run:
pod cache clean --all pod repo update pod install // if you are using Fluxstore try to run pod update OneSignal
-
Open Android Studio and run the green button - https://tppr.me/h3aTb
- Go to to android folder and run
// mac os
./gradlew clean
// window os
gradlew.bat clean
- Go to android folder and remove the .grade hidden folder
- Go the Android Studio and run the project again.
app release shows a launch screen and its stuck there ?! did anyone fixed this ?!! i face this issue too !