getx
getx copied to clipboard
Can't load Kernel binary: Invalid kernel binary format version
faiz@static-71-179-234-46 fcm_webjow % get init Can't load Kernel binary: Invalid kernel binary format version. Building package executable... Failed to build get_cli:get: ../../.pub-cache/hosted/pub.dev/dcli-4.0.1-alpha.8/lib/src/util/wait_for_ex.dart:38:17: Error: Method not found: 'waitFor'. value = cli.waitFor<T>(wrapped); ^^^^^^^ faiz@static-71-179-234-46 fcm_webjow %
Flutter Project Clean and Rebuild Methods
First Method
-
Clean Flutter Project:
flutter clean -
Get Flutter Dependencies:
flutter pub get
Second Method
-
Remove Flutter Cache:
rm -rf <path to flutter repo>/bin/cache -
Run Flutter Doctor:
flutter doctor -v -
Clean Flutter Project:
flutter clean -
Get Flutter Dependencies:
flutter pub get -
Repair Flutter Pub Cache:
flutter pub cache repair
Third Method
-
Clean Flutter Project within the Same Terminal:
flutter clean
Fourth Method
-
Update CocoaPods:
pod update