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
- Delete .packages
- Delete pubspec.lock
- flutter clean
- Flutter pub get
- flutter pub Upgrade
- Flutter Upgrade