Home > other >  Program 'flutter.bat' failed to run: Access is deniedAt line:1 char:1
Program 'flutter.bat' failed to run: Access is deniedAt line:1 char:1

Time:10-16

does anyone know? why is this error:

PS D:\Andnata77\Belajar\FLUTTER\flutter_application_1> flutter pub get Program 'flutter.bat' failed to run: Access is deniedAt line:1 char:1

  • flutter pub get

At line:1 char:1

  • flutter pub get
  •     CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
        FullyQualifiedErrorId : NativeCommandFailed
    

CodePudding user response:

What are you trying to do ? do you try copy files from project to another project ? just clone it from github or just copy lib file not other ones. try this

  1. Delete .packages
  2. Delete pubspec.lock
  3. flutter clean
  4. Flutter pub get
  5. flutter pub Upgrade
  6. Flutter Upgrade
  • Related