getx icon indicating copy to clipboard operation
getx copied to clipboard

Can't load Kernel binary: Invalid kernel binary format version

Open faizahmaddae opened this issue 1 year ago • 1 comments

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 %

faizahmaddae avatar May 23 '24 16:05 faizahmaddae

Flutter Project Clean and Rebuild Methods

First Method

  1. Clean Flutter Project:

    flutter clean
    
  2. Get Flutter Dependencies:

    flutter pub get
    

Second Method

  1. Remove Flutter Cache:

    rm -rf <path to flutter repo>/bin/cache
    
  2. Run Flutter Doctor:

    flutter doctor -v
    
  3. Clean Flutter Project:

    flutter clean
    
  4. Get Flutter Dependencies:

    flutter pub get
    
  5. Repair Flutter Pub Cache:

    flutter pub cache repair
    

Third Method

  1. Clean Flutter Project within the Same Terminal:
    flutter clean
    

Fourth Method

  1. Update CocoaPods:
    pod update
    

abetoluwani avatar May 30 '24 09:05 abetoluwani