When i try to run flutter pub get, i get the following issue. Does anyone know how to fix the issue?
[oss_code_generator] flutter pub get
Running "flutter pub get" in oss_code_generator...
Could not find a file named "pubspec.yaml" in "C:\Users\username\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\bitsdojo_window_windows-0.1.0".
pub get failed (66; Could not find a file named "pubspec.yaml" in "C:\Users\username\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\bitsdojo_window_windows-0.1.0".)
exit code 66
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [Version 10.0.19043.1586], locale nb-NO)
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.11.8)
[!] Android Studio (not installed)
[√] VS Code (version 1.66.0)
[√] Connected device (3 available)
[√] HTTP Host Availability
When i try to run
flutter pub get
, i get the following issue. Does anyone know how to fix the issue?