when trying to setup windows desktop app, "pub get failed (1; no message)" whenever it calls "pub get"

My OS is Windows.
No matter what I try, it always returns the same error:
on creating a project using "flutter create ...";
on "flutter pub get";
on "flutter pub cache repair";
and so on.
I reinstalled everything related to flutter that I used 'til now;
Deleted cache folders related to flutter and dart on AppData;
Changed to stable, beta, dev and master channels;
Did "flutter upgrade" and "flutter doctor" everytime.
Btw, "flutter doctor" says everything is fine.
Obs:
The problem started when I was trying to run Windows Desktop App, right after changed the channel to master and installed Visual Studio tools.
Logs

flutter create asdsadas (I beated on keyboard kekw)
PS C:\Users\Allisson\Desktop\flutter> flutter create asdsadas
Creating project asdsadas...
  asdsadas\.gitignore (created)
  asdsadas\.idea\libraries\Dart_SDK.xml (created)
  asdsadas\.idea\libraries\KotlinJavaRuntime.xml (created)
  asdsadas\.idea\modules.xml (created)
  asdsadas\.idea\runConfigurations\main_dart.xml (created)
  asdsadas\.idea\workspace.xml (created)
  asdsadas\.metadata (created)
  asdsadas\android\app\build.gradle (created)
  asdsadas\android\app\src\main\kotlin\com\example\asdsadas\MainActivity.kt (created)
  asdsadas\android\build.gradle (created)
  asdsadas\android\asdsadas_android.iml (created)
  asdsadas\android\.gitignore (created)
  asdsadas\android\app\src\debug\AndroidManifest.xml (created)
  asdsadas\android\app\src\main\AndroidManifest.xml (created)
  asdsadas\android\app\src\main\res\drawable\launch_background.xml (created)
  asdsadas\android\app\src\main\res\mipmap-hdpi\ic_launcher.png (created)
  asdsadas\android\app\src\main\res\mipmap-mdpi\ic_launcher.png (created)
  asdsadas\android\app\src\main\res\mipmap-xhdpi\ic_launcher.png (created)
  asdsadas\android\app\src\main\res\mipmap-xxhdpi\ic_launcher.png (created)
  asdsadas\android\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png (created)
  asdsadas\android\app\src\main\res\values\styles.xml (created)
  asdsadas\android\app\src\profile\AndroidManifest.xml (created)
  asdsadas\android\gradle\wrapper\gradle-wrapper.properties (created)
  asdsadas\android\gradle.properties (created)
  asdsadas\android\settings.gradle (created)
  asdsadas\ios\Runner\AppDelegate.swift (created)
  asdsadas\ios\Runner\Runner-Bridging-Header.h (created)
  asdsadas\ios\Runner.xcodeproj\project.pbxproj (created)
  asdsadas\ios\Runner.xcodeproj\xcshareddata\xcschemes\Runner.xcscheme (created)
  asdsadas\ios\.gitignore (created)
  asdsadas\ios\Flutter\AppFrameworkInfo.plist (created)
  asdsadas\ios\Flutter\Debug.xcconfig (created)
  asdsadas\ios\Flutter\Release.xcconfig (created)
  asdsadas\ios\Runner\Assets.xcassets\AppIcon.appiconset\Contents.json (created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
  asdsadas\ios\Runner\Assets.xcassets\LaunchImage.imageset\Contents.json (created)
  asdsadas\ios\Runner\Assets.xcassets\LaunchImage.imageset\LaunchImage.png (created)
<EMAIL_ADDRESS>(created)
<EMAIL_ADDRESS>(created)
  asdsadas\ios\Runner\Assets.xcassets\LaunchImage.imageset\README.md (created)
  asdsadas\ios\Runner\Base.lproj\LaunchScreen.storyboard (created)
  asdsadas\ios\Runner\Base.lproj\Main.storyboard (created)
  asdsadas\ios\Runner\Info.plist (created)
  asdsadas\ios\Runner.xcodeproj\project.xcworkspace\contents.xcworkspacedata (created)
  asdsadas\ios\Runner.xcodeproj\project.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist (created)
  asdsadas\ios\Runner.xcodeproj\project.xcworkspace\xcshareddata\WorkspaceSettings.xcsettings (created)
  asdsadas\ios\Runner.xcworkspace\contents.xcworkspacedata (created)
  asdsadas\ios\Runner.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist (created)
  asdsadas\ios\Runner.xcworkspace\xcshareddata\WorkspaceSettings.xcsettings (created)
  asdsadas\lib\main.dart (created)
  asdsadas\asdsadas.iml (created)
  asdsadas\pubspec.yaml (created)
  asdsadas\README.md (created)
  asdsadas\test\widget_test.dart (created)
Running "flutter pub get" in asdsadas...
pub get failed (1; no message)

flutter pub get -v on asdsadas project
C:\Users\Allisson\Desktop\flutter\asdsadas> flutter pub get -v
[ +111 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +57 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +22 ms] 840c9205b344a59e48a5926ee2d791cc5640924c
[   +1 ms] executing: [C:\src\flutter/] git tag --contains HEAD
[ +221 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.20.0
[  +10 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +37 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[  +34 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[  +66 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +46 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +29 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ +103 ms] Running "flutter pub get" in asdsadas...
[   +7 ms] executing: [C:\Users\Allisson\Desktop\flutter\asdsadas/] C:\src\flutter\bin\cache\dart-sdk\bin\pub.bat --verbose get --no-precompile
[ +160 ms] FINE: Pub 2.9.0
[   +2 ms] IO  : Spawning "cmd /c ver" in C:\Users\Allisson\Desktop\flutter\asdsadas\.
[   +1 ms] IO  : Finished ver. Exit code 1.
[   +1 ms]     | stdout:
[   +1 ms]     | |
[        ]     | | Microsoft Windows [Version 10.0.18362.959]
[        ]     | Nothing output on stderr.
[  +68 ms] MSG : Resolving dependencies...
[  +43 ms] SLVR: fact: asdsadas is 1.0.0+1
[   +7 ms] SLVR: derived: asdsadas
[  +26 ms] SLVR: fact: asdsadas depends on flutter any from sdk
[   +1 ms] SLVR: fact: asdsadas depends on cupertino_icons ^0.1.3
[        ] SLVR: fact: asdsadas depends on flutter_test any from sdk
[   +1 ms] SLVR:   selecting asdsadas
[        ] SLVR:   derived: flutter_test any from sdk
[   +1 ms] SLVR:   derived: cupertino_icons ^0.1.3
[        ] SLVR:   derived: flutter any from sdk
[  +14 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on flutter any from sdk
[   +2 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on test_api 0.2.17
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on path 1.7.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on fake_async 1.1.0
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on clock 1.0.1
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.9.5
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on vector_math 2.0.8
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on async 2.4.2
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on boolean_selector 2.0.0
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on characters 1.0.0
[   +3 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on charcode 1.1.3
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on collection 1.14.13
[   +3 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.8
[   +2 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on meta 1.1.8
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on source_span 1.7.0
[   +2 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.0.0
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.0.5
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.1.0
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on typed_data 1.2.0
[   +1 ms] SLVR:     selecting flutter_test 0.0.0 from sdk
[        ] SLVR:     derived: typed_data 1.2.0
[        ] SLVR:     derived: term_glyph 1.1.0
[        ] SLVR:     derived: string_scanner 1.0.5
[   +1 ms] SLVR:     derived: stream_channel 2.0.0
[        ] SLVR:     derived: source_span 1.7.0
[   +1 ms] SLVR:     derived: meta 1.1.8
[        ] SLVR:     derived: matcher 0.12.8
[        ] SLVR:     derived: collection 1.14.13
[        ] SLVR:     derived: charcode 1.1.3
[   +1 ms] SLVR:     derived: characters 1.0.0
[        ] SLVR:     derived: boolean_selector 2.0.0
[        ] SLVR:     derived: async 2.4.2
[   +1 ms] SLVR:     derived: vector_math 2.0.8
[        ] SLVR:     derived: stack_trace 1.9.5
[        ] SLVR:     derived: clock 1.0.1
[        ] SLVR:     derived: fake_async 1.1.0
[   +1 ms] SLVR:     derived: path 1.7.0
[   +1 ms] SLVR:     derived: test_api 0.2.17
[   +2 ms] SLVR:       selecting cupertino_icons 0.1.3
[   +2 ms] SLVR:       fact: flutter 0.0.0 from sdk depends on characters 1.0.0
[        ] SLVR:       fact: flutter 0.0.0 from sdk depends on collection 1.14.13
[        ] SLVR:       fact: flutter 0.0.0 from sdk depends on meta 1.1.8
[        ] SLVR:       fact: flutter 0.0.0 from sdk depends on typed_data 1.2.0
[        ] SLVR:       fact: flutter 0.0.0 from sdk depends on vector_math 2.0.8
[        ] SLVR:       fact: flutter 0.0.0 from sdk depends on sky_engine any from sdk
[   +1 ms] SLVR:         selecting flutter 0.0.0 from sdk
[        ] SLVR:         derived: sky_engine any from sdk
[        ] SLVR:         fact: typed_data 1.2.0 depends on collection ^1.1.0
[        ] SLVR:           selecting typed_data 1.2.0
[   +1 ms] SLVR:             selecting term_glyph 1.1.0
[        ] SLVR:             fact: string_scanner 1.0.5 depends on charcode ^1.1.0
[        ] SLVR:             fact: string_scanner 1.0.5 depends on meta ^1.1.0
[        ] SLVR:             fact: string_scanner 1.0.5 depends on source_span ^1.4.0
[   +1 ms] SLVR:               selecting string_scanner 1.0.5
[        ] SLVR:               fact: stream_channel 2.0.0 depends on async >=1.11.0 <3.0.0
[        ] SLVR:                 selecting stream_channel 2.0.0
[   +1 ms] SLVR:                 fact: source_span 1.7.0 depends on charcode ^1.0.0
[   +1 ms] SLVR:                 fact: source_span 1.7.0 depends on collection ^1.8.0
[        ] SLVR:                 fact: source_span 1.7.0 depends on meta >=0.9.0 <2.0.0
[        ] SLVR:                 fact: source_span 1.7.0 depends on path ^1.2.0
[        ] SLVR:                 fact: source_span 1.7.0 depends on term_glyph ^1.0.0
[   +3 ms] SLVR:                   selecting source_span 1.7.0
[   +2 ms] SLVR:                     selecting meta 1.1.8
[   +2 ms] SLVR:                     fact: matcher 0.12.8 depends on stack_trace ^1.2.0
[   +1 ms] SLVR:                       selecting matcher 0.12.8
[   +4 ms] SLVR:                         selecting collection 1.14.13
[   +3 ms] SLVR:                           selecting charcode 1.1.3
[   +4 ms] SLVR:                             selecting characters 1.0.0
[   +4 ms] SLVR:                             fact: boolean_selector 2.0.0 depends on source_span ^1.0.0
[   +1 ms] SLVR:                             fact: boolean_selector 2.0.0 depends on string_scanner ^1.0.0
[        ] SLVR:                               selecting boolean_selector 2.0.0
[   +1 ms] SLVR:                               fact: async 2.4.2 depends on collection ^1.5.0
[   +1 ms] SLVR:                                 selecting async 2.4.2
[   +4 ms] SLVR:                                   selecting vector_math 2.0.8
[   +3 ms] SLVR:                                   fact: stack_trace 1.9.5 depends on path ^1.2.0
[        ] SLVR:                                     selecting stack_trace 1.9.5
[   +2 ms] SLVR:                                     fact: clock 1.0.1 depends on meta >=0.9.0 <2.0.0
[   +1 ms] SLVR:                                       selecting clock 1.0.1
[   +2 ms] SLVR:                                       fact: fake_async 1.1.0 depends on clock ^1.0.0
[   +1 ms] SLVR:                                       fact: fake_async 1.1.0 depends on collection ^1.8.0
[        ] SLVR:                                         selecting fake_async 1.1.0
[        ] SLVR:                                           selecting path 1.7.0
[   +4 ms] SLVR:                                           fact: test_api 0.2.17 depends on async ^2.0.0
[        ] SLVR:                                           fact: test_api 0.2.17 depends on boolean_selector >=1.0.0 <3.0.0
[        ] SLVR:                                           fact: test_api 0.2.17 depends on collection ^1.8.0
[        ] SLVR:                                           fact: test_api 0.2.17 depends on meta ^1.1.5
[        ] SLVR:                                           fact: test_api 0.2.17 depends on path ^1.2.0
[   +2 ms] SLVR:                                           fact: test_api 0.2.17 depends on source_span ^1.4.0
[   +2 ms] SLVR:                                           fact: test_api 0.2.17 depends on stack_trace ^1.9.0
[   +1 ms] SLVR:                                           fact: test_api 0.2.17 depends on stream_channel >=1.7.0 <3.0.0
[        ] SLVR:                                           fact: test_api 0.2.17 depends on string_scanner ^1.0.0
[   +1 ms] SLVR:                                           fact: test_api 0.2.17 depends on term_glyph ^1.0.0
[        ] SLVR:                                           fact: test_api 0.2.17 depends on matcher >=0.12.6 <0.12.9
[   +1 ms] SLVR:                                             selecting test_api 0.2.17
[        ] SLVR:                                               selecting sky_engine 0.0.99 from sdk
[   +1 ms] SLVR: Version solving took 0:00:00.192624 seconds.
[        ]     | Tried 1 solutions.
[        ] FINE: Resolving dependencies finished (0.233s).
[  +42 ms] IO  : Writing 3448 characters to text file .\pubspec.lock.
[  +15 ms] FINE: Contents:
[        ]     | # Generated by pub
[        ]     | # See https://dart.dev/tools/pub/glossary#lockfile
[        ]     | packages:
[        ]     |   async:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: async
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.4.2"
[   +1 ms]     |   boolean_selector:
[        ]     |     dependency: transitive
[        ]     |     description:
[  +12 ms]     |       name: boolean_selector
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.0"
[   +1 ms]     |   characters:
[   +1 ms]     |     dependency: transitive
[   +3 ms]     |     description:
[   +1 ms]     |       name: characters
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[   +1 ms]     |     version: "1.0.0"
[   +1 ms]     |   charcode:
[        ]     |     dependency: transitive
[   +1 ms]     |     description:
[   +1 ms]     |       name: charcode
[   +1 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[   +1 ms]     |     version: "1.1.3"
[        ]     |   clock:
[   +1 ms]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: clock
[   +2 ms]     |       url: "https://pub.dartlang.org"
[   +2 ms]     |     source: hosted
[   +2 ms]     |     version: "1.0.1"
[   +1 ms]     |   collection:
[  +10 ms]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: collection
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.14.13"
[        ]     |   cupertino_icons:
[        ]     |     dependency: "direct main"
[        ]     |     description:
[        ]     |       name: cupertino_icons
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.1.3"
[        ]     |   fake_async:
[        ]     |     dependency: transitive
[        ]     |     description:
[   +9 ms]     |       name: fake_async
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   flutter:
[        ]     |     dependency: "direct main"
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   flutter_test:
[        ]     |     dependency: "direct dev"
[        ]     |     description: flutter
[   +1 ms]     |     source: sdk
[   +8 ms]     |     version: "0.0.0"
[   +1 ms]     |   matcher:
[        ]     |     dependency: transitive
[        ]     |     description:
[   +1 ms]     |       name: matcher
[   +1 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.12.8"
[        ]     |   meta:
[   +1 ms]     |     dependency: transitive
[  +68 ms]     |     description:
[  +20 ms]     |       name: meta
[   +1 ms]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[   +1 ms]     |     version: "1.1.8"
[        ]     |   path:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: path
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.7.0"
[   +1 ms]     |   sky_engine:
[  +11 ms]     |     dependency: transitive
[   +1 ms]     |     description: flutter
[   +1 ms]     |     source: sdk
[        ]     |     version: "0.0.99"
[   +1 ms]     |   source_span:
[  +13 ms]     |     dependency: transitive
[   +2 ms]     |     description:
[   +1 ms]     |       name: source_span
[  +35 ms]     |       url: "https://pub.dartlang.org"
[  +11 ms]     |     source: hosted
[   +1 ms]     |     version: "1.7.0"
[  +17 ms]     |   stack_trace:
[  +14 ms]     |     dependency: transitive
[   +1 ms]     |     description:
[        ]     |       name: stack_trace
[  +11 ms]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[        ]     |     version: "1.9.5"
[   +2 ms]     |   stream_channel:
[        ]     |     dependency: transitive
[   +1 ms]     |     description:
[  +11 ms]     |       name: stream_channel
[   +1 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.0"
[        ]     |   string_scanner:
[        ]     |     dependency: transitive
[        ]     |     description:
[  +10 ms]     |       name: string_scanner
[   +1 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.5"
[        ]     |   term_glyph:
[        ]     |     dependency: transitive
[        ]     |     description:
[  +10 ms]     |       name: term_glyph
[   +1 ms]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[   +1 ms]     |     version: "1.1.0"
[        ]     |   test_api:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: test_api
[  +11 ms]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[        ]     |     version: "0.2.17"
[        ]     |   typed_data:
[        ]     |     dependency: transitive
[   +1 ms]     |     description:
[  +10 ms]     |       name: typed_data
[   +1 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   vector_math:
[   +1 ms]     |     dependency: transitive
[        ]     |     description:
[  +10 ms]     |       name: vector_math
[   +1 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.8"
[        ]     | sdks:
[   +1 ms]     |   dart: ">=2.9.0-14.0.dev <3.0.0"
[        ] IO  : Writing 2267 characters to text file .\.packages.
[        ] FINE: Contents:
[  +13 ms]     | # Generated by pub on 2020-08-06 15:17:40.121232.
[        ]     | async:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/async-2.4.2/lib/
[        ]     | boolean_selector:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/boolean_selector-2.0.0/lib/
[        ]     | characters:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/characters-1.0.0/lib/
[   +1 ms]     | charcode:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/charcode-1.1.3/lib/
[  +12 ms]     | clock:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/clock-1.0.1/lib/
[        ]     | collection:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/collection-1.14.13/lib/
[        ]     | cupertino_icons:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3/lib/
[        ]     | fake_async:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/fake_async-1.1.0/lib/
[        ]     | flutter:file:///C:/src/flutter/packages/flutter/lib/
[  +12 ms]     | flutter_test:file:///C:/src/flutter/packages/flutter_test/lib/
[        ]     | matcher:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/matcher-0.12.8/lib/
[        ]     | meta:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/meta-1.1.8/lib/
[        ]     | path:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/path-1.7.0/lib/
[        ]     | sky_engine:file:///C:/src/flutter/bin/cache/pkg/sky_engine/lib/
[        ]     | source_span:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/source_span-1.7.0/lib/
[        ]     | stack_trace:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/stack_trace-1.9.5/lib/
[  +12 ms]     | stream_channel:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/stream_channel-2.0.0/lib/
[        ]     | string_scanner:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/string_scanner-1.0.5/lib/
[        ]     | term_glyph:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/term_glyph-1.1.0/lib/
[        ]     | test_api:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/test_api-0.2.17/lib/
[        ]     | typed_data:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/typed_data-1.2.0/lib/
[        ]     | vector_math:file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/
[        ]     | asdsadas:lib/
[        ] IO  : Writing 4759 characters to text file .\.dart_tool\package_config.json.
[  +14 ms] FINE: Contents:
[        ]     | {
[  +16 ms]     |   "configVersion": 2,
[        ]     |   "packages": [
[   +1 ms]     |     {
[  +24 ms]     |       "name": "async",
[   +1 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/async-2.4.2",
[   +1 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.2"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "boolean_selector",
[   +1 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/boolean_selector-2.0.0",
[  +16 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.4"
[  +16 ms]     |     },
[   +6 ms]     |     {
[   +1 ms]     |       "name": "characters",
[   +2 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/characters-1.0.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.6"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "charcode",
[        ]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/charcode-1.1.3",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[  +14 ms]     |     {
[   +1 ms]     |       "name": "clock",
[   +1 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/clock-1.0.1",
[  +13 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.0"
[        ]     |     },
[   +1 ms]     |     {
[  +11 ms]     |       "name": "collection",
[   +1 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/collection-1.14.13",
[        ]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.3"
[  +15 ms]     |     },
[        ]     |     {
[        ]     |       "name": "cupertino_icons",
[  +11 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "fake_async",
[        ]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/fake_async-1.1.0",
[        ]     |       "packageUri": "lib/",
[  +12 ms]     |       "languageVersion": "2.2"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter",
[        ]     |       "rootUri": "file:///C:/src/flutter/packages/flutter",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.9"
[  +10 ms]     |     },
[        ]     |     {
[        ]     |       "name": "flutter_test",
[        ]     |       "rootUri": "file:///C:/src/flutter/packages/flutter_test",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.2"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "matcher",
[   +1 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/matcher-0.12.8",
[  +14 ms]     |       "packageUri": "lib/",
[   +2 ms]     |       "languageVersion": "2.4"
[  +15 ms]     |     },
[  +10 ms]     |     {
[   +1 ms]     |       "name": "meta",
[        ]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/meta-1.1.8",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path",
[        ]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/path-1.7.0",
[   +8 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[        ]     |     {
[        ]     |       "name": "sky_engine",
[        ]     |       "rootUri": "file:///C:/src/flutter/bin/cache/pkg/sky_engine",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.11"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "source_span",
[   +9 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/source_span-1.7.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.6"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stack_trace",
[        ]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/stack_trace-1.9.5",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stream_channel",
[  +11 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/stream_channel-2.0.0",
[   +1 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "string_scanner",
[   +1 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/string_scanner-1.0.5",
[  +11 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.0"
[        ]     |     },
[   +1 ms]     |     {
[   +1 ms]     |       "name": "term_glyph",
[   +3 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/term_glyph-1.1.0",
[  +10 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "1.8"
[        ]     |     },
[        ]     |     {
[  +11 ms]     |       "name": "test_api",
[   +1 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/test_api-0.2.17",
[   +1 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.7"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "typed_data",
[  +10 ms]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/typed_data-1.2.0",
[   +1 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.4"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "vector_math",
[        ]     |       "rootUri": "file:///C:/Users/Allisson/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/vector_math-2.0.8",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[   +9 ms]     |     {
[        ]     |       "name": "asdsadas",
[        ]     |       "rootUri": "../",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.7"
[        ]     |     }
[        ]     |   ],
[        ]     |   "generated": "2020-08-06T18:17:40.451471Z",
[        ]     |   "generator": "pub",
[  +10 ms]     |   "generatorVersion": "2.9.0"
[   +1 ms]     | }
[   +1 ms] MSG : Got dependencies!
[  +20 ms] Running "flutter pub get" in asdsadas... (completed in 1.5s)
[  +19 ms] "flutter get" took 1,698ms.
[  +27 ms] pub get failed (1; MSG : Got dependencies!)
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
           #1      _DefaultPub.batch (package:flutter_tools/src/dart/pub.dart:321:7)
           #2      _rootRunUnary (dart:async/zone.dart:1198:47)
           #3      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #4      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #5      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #6      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #7      Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #8      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #9      _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #10     _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart)
           #11     _rootRunUnary (dart:async/zone.dart:1198:47)
           #12     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #13     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #14     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #15     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #16     Future._addListener.<anonymous closure> (dart:async/future_impl.dart:393:9)
           #17     _rootRun (dart:async/zone.dart:1190:13)
           #18     _CustomZone.run (dart:async/zone.dart:1093:19)
           #19     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #20     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
           #21     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #22     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #23     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #24     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

[ +268 ms] ensureAnalyticsSent: 252ms
[   +2 ms] Running shutdown hooks
[  +10 ms] Shutdown hooks complete
[   +2 ms] exiting with code 1

flutter doctor -v
PS C:\Users\Allisson\Desktop\flutter\asdsadas> flutter doctor -v
[√] Flutter (Channel stable, 1.20.0, on Windows, locale en-US)
    • Flutter version 1.20.0 at C:\src\flutter
    • Framework revision 840c9205b3 (2 days ago), 2020-08-04 20:55:12 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\Allisson\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.47.3)
    • VS Code at C:\Users\Allisson\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.13.2

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

The devices issue is 'cause I just reinstalled everything, but makes no difference.

Not able to reproduce this issue, similar issue was raised before but solved due to windows reinstallation  https://github.com/flutter/flutter/issues/54030
I’m unable to reproduce the issue to pinpoint the cause The issue needs further investigation.

Sorry for the late answer.

Not able to reproduce this issue, similar issue was raised before but solved due to windows reinstallation #54030

Yeah, I already saw that post before posting that one, but this notebook I use for work and it's complicated to do a system reinstallation 'cause that's too many configuration to do.

I’m unable to reproduce the issue to pinpoint the cause The issue needs further investigation.

It's really complicated. I have no idea what exactly got wrong, just remember the context I was on.
I've no idea what to do anymore.

What happens if you run pub directly, maybe with verbose logging?

@jonasfj could be a pub issue?

The log suggests that the entire resolution is done.
[  +27 ms] pub get failed (1; MSG : Got dependencies!)
@Booitt
Any chance you can try with flutter 1.17? I'm wondering if this is related to a possible regression in dart 2.9

Can anyone post every location folder and registry related to pub, so I can delete them?

Note. flutter stores the PUB_CACHE in the SDK folder, so you can just delete that and try with a clean SDK folder.
I doubt a dirty pub-cache is the problem though.

What happens if you run pub directly, maybe with verbose logging?

I did run pub directly in the SDK folder C:\src\flutter\bin\cache\dart-sdk\bin and it didn't return any error like it did with flutter pub cache repair.
PS C:\src\flutter\bin\cache\dart-sdk\bin> .\pub.bat cache repair Downloading web_socket_channel 1.1.0... Downloading usage 3.4.1... Downloading usage 3.4.2... Downloading vm_service 4.0.0... Downloading vm_service 4.1.0... Downloading vector_math 2.0.8... Downloading uuid 2.0.4... Downloading uuid 2.2.0... Downloading watcher 0.9.7+14... Downloading watcher 0.9.7+15... Downloading webkit_inspection_protocol 0.5.0+1... Downloading webkit_inspection_protocol 0.7.3...   Downloading webdriver 2.1.2... Downloading xml 3.6.1... Downloading xml 4.2.0... Downloading yaml 2.2.0... Downloading yaml 2.2.1... Downloading term_glyph 1.1.0... Downloading sync_http 0.2.0... Downloading test_api 0.2.15... Downloading test_api 0.2.17... Downloading test_core 0.3.3...  Downloading test_core 0.3.10... Downloading typed_data 1.1.6... Downloading typed_data 1.2.0... Downloading test 1.14.2... Downloading test 1.15.2... Downloading string_scanner 1.0.5... Downloading stream_transform 1.2.0... Downloading stream_channel 2.0.0... Downloading sse 3.2.1... Downloading sse 3.5.0... Downloading stack_trace 1.9.3... Downloading stack_trace 1.9.5... Downloading source_span 1.7.0... Downloading source_maps 0.10.9... Downloading shelf_web_socket 0.2.3... Downloading source_map_stack_trace 2.0.0... Downloading shelf_static 0.2.8... Downloading shelf_proxy 0.1.0+7... Downloading shelf_packages_handler 1.0.4... Downloading shelf_packages_handler 2.0.0... Downloading shelf 0.7.5... Downloading quiver 2.1.3... Downloading pubspec_parse 0.1.5... Downloading pub_semver 1.4.4... Downloading process 3.0.12... Downloading process 3.0.13... Downloading pool 1.4.0... Downloading platform 2.2.1... Downloading petitparser 2.4.0... Downloading petitparser 3.0.4... Downloading pedantic 1.9.0... Downloading package_resolver 1.0.10... Downloading node_preamble 1.4.8... Downloading node_preamble 1.4.12... Downloading package_config 1.9.1... Downloading package_config 1.9.3... Downloading path 1.6.4... Downloading path 1.7.0... Downloading node_io 1.0.1+2... Downloading node_io 1.1.1... Downloading node_interop 1.0.3... Downloading node_interop 1.1.1... Downloading native_stack_traces 0.3.1... Downloading native_stack_traces 0.3.7... Downloading mustache_template 1.0.0+1... Downloading multicast_dns 0.2.2... Downloading multi_server_socket 1.0.2... Downloading mockito 4.1.1... Downloading mime 0.9.6+3... Downloading meta 1.1.8... Downloading matcher 0.12.6... Downloading matcher 0.12.8... Downloading logging 0.11.4... Downloading json_rpc_2 2.1.0... Downloading json_annotation 3.0.1... Downloading io 0.3.3... Downloading io 0.3.4... Downloading js 0.6.1+1... Downloading js 0.6.2... Downloading intl 0.16.1... Downloading image 2.1.12... Downloading http_parser 3.1.4... Downloading http_multi_server 2.2.0... Downloading html 0.14.0+3... Downloading http 0.12.0+4... Downloading http 0.12.1... Downloading glob 1.2.0... Downloading flutter_template_images 1.0.0... Downloading flutter_template_images 1.0.1... Downloading fixnum 0.10.11... Downloading file_testing 2.1.0... Downloading fake_async 1.1.0... Downloading file 5.1.0... Downloading file 5.2.1... Downloading devtools_shared 0.2.4-dev.1... Downloading devtools_shared 0.2.5... Downloading dwds 3.0.2... Downloading dwds 5.0.0... Downloading devtools_server 0.2.4-dev.1... Downloading devtools_server 0.2.5... Downloading cupertino_icons 0.1.3... Downloading crypto 2.1.4... Downloading crypto 2.1.5... Downloading devtools 0.2.3... Downloading devtools 0.2.5... Downloading csslib 0.16.1... Downloading coverage 0.13.9... Downloading coverage 0.14.0... Downloading convert 2.1.1... Downloading completion 0.2.2... Downloading clock 1.0.1... Downloading collection 1.14.12... Downloading collection 1.14.13... Downloading checked_yaml 1.0.2... Downloading charcode 1.1.3... Downloading characters 1.0.0... Downloading built_value 7.0.9... Downloading built_value 7.1.0... Downloading built_collection 4.3.2... Downloading build_daemon 2.1.4... Downloading browser_launcher 0.1.5... Downloading browser_launcher 0.1.7... Downloading boolean_selector 2.0.0... Downloading async 2.4.1... Downloading async 2.4.2... Downloading analyzer 0.39.4... Downloading analyzer 0.39.12... Downloading _fe_analyzer_shared 1.0.3... Downloading _fe_analyzer_shared 5.0.0... Downloading archive 2.0.13... Downloading args 1.6.0... Reinstalled 133 packages.

Any chance you can try with flutter 1.17? I'm wondering if this is related to a possible regression in dart 2.9

I tried to flutter version 1.17 but it comes without channel and forces me to choose a channel and do a flutter upgrade.
Then I did flutter downgrade 1.17 but it led me to 1.20, which continues to return the error.
Then I downloaded 1.17.0 stable from https://flutter.dev/docs/development/tools/sdk/releases and it didn't download Dart SDK by itself (I didn't want to flutter upgrade, only did flutter doctor), so a I downloaded the latest version from Dart website via choco install dart-sdk... and... same error again.

Note. flutter stores the PUB_CACHE in the SDK folder, so you can just delete that and try with a clean SDK folder.
I doubt a dirty pub-cache is the problem though.

Yeah, I deleted it again to install 1.17.0 version.
If I did something in the wrong way, let me know.
Thanks

I don't know that we'll be able to figure out what the problem is in the abstract. It's probably some poor interaction between Flutter or pub and some aspect of your system configuration. Do you have any special proxies? Virus scanners? Any other applications that's running in the background?

I don't know that we'll be able to figure out what the problem is in the abstract. It's probably some poor interaction between Flutter or pub and some aspect of your system configuration. Do you have any special proxies? Virus scanners? Any other applications that's running in the background?

I've no proxies, my antivirus is the native Windows Defender and there's no new software/service since the last working state of Flutter here.
I saw something new like I metioned at my last answer and maybe it's what's causing the problem.
Failed to download the Android dependencies
I'm getting this message on flutter upgrade and flutter precache.
I've been searching for a solution for this and got no luck again.

Can you run flutter precache -v to give us more details on what is failing?

Can you run flutter precache -v to give us more details on what is failing?

$ flutter precache -v
[ +102 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +41 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ]
[        ] executing: [C:\src\flutter/] git tag --contains HEAD
[ +186 ms] Exit code 0 from: git tag --contains HEAD
[        ] 1.20.2
[   +9 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +21 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[  +18 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +62 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[  +19 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +108 ms] C:\src\flutter\bin\cache\artifacts\gradle_wrapper\gradle\wrapper\gradle-wrapper.jar mode: 33206 rw-rw-rw-.
[   +2 ms] C:\src\flutter\bin\cache\artifacts\gradle_wrapper\gradlew mode: 33206 rw-rw-rw-.
[   +2 ms] C:\src\flutter\bin\cache\artifacts\gradle_wrapper\gradlew.bat mode: 33279 rwxrwxrwx.
[        ] C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5\gradlew.bat mode: 33279 rwxrwxrwx.
[   +6 ms] Downloading Android Maven dependencies...
[   +8 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[  +80 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[   +4 ms] executing: C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5\gradlew.bat -b C:\src\flutter\packages\flutter_tools\gradle\resolve_dependencies.gradle --project-cache-dir C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5 resolveDependencies
[+1639 ms]
C:\Users\Allisson>if "MINGW64_NT-10.0-18362" == "Windows_NT" setlocal
       C:\Users\Allisson>set DEFAULT_JVM_OPTS=

       C:\Users\Allisson>set DIRNAME=C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5\

       C:\Users\Allisson>if "C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5\" == "" set DIRNAME=.

       C:\Users\Allisson>set APP_BASE_NAME=gradlew

       C:\Users\Allisson>set APP_HOME=C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5\

       C:\Users\Allisson>if defined JAVA_HOME goto findJavaFromJavaHome

       C:\Users\Allisson>set JAVA_HOME=C:\Program Files\Android\Android Studio\jre

       C:\Users\Allisson>set JAVA_EXE=C:\Program Files\Android\Android Studio\jre/bin/java.exe

       C:\Users\Allisson>if exist "C:\Program Files\Android\Android Studio\jre/bin/java.exe" goto init

       C:\Users\Allisson>if not "MINGW64_NT-10.0-18362" == "Windows_NT" goto win9xME_args

       C:\Users\Allisson>set CMD_LINE_ARGS=

       C:\Users\Allisson>set _SKIP=2

       C:\Users\Allisson>if "x-b" == "x" goto execute

       C:\Users\Allisson>set CMD_LINE_ARGS=-b C:\\src\\flutter\packages\flutter_tools\gradle\resolve_dependencies.gradle --project-cache-dir C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5 resolveDependencies

       C:\Users\Allisson>goto execute

       C:\Users\Allisson>set CLASSPATH=C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5\\gradle\wrapper\gradle-wrapper.jar

       C:\Users\Allisson>"C:\Program Files\Android\Android Studio\jre/bin/java.exe"    "-Dorg.gradle.appname=gradlew" -classpath "C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5\\gradle\wrapper\gradle-wrapper.jar" org.gradle.wrapper.GradleWrapperMain -b C:\\src\\flutter\packages\flutter_tools\gradle\resolve_dependencies.gradle --project-cache-dir C:\src\flutter\bin\cache\flutter_gradle_wrapper.34abb9c5 resolveDependencies
       > Task :resolveDependencies UP-TO-DATE

       BUILD SUCCESSFUL in 1s

       C:\Users\Allisson>if "0" == "0" goto mainEnd

       C:\Users\Allisson>if "MINGW64_NT-10.0-18362" == "Windows_NT" endlocal

[   +1 ms] Failed to download the Android dependencies
[  +21 ms] Downloading Android Maven dependencies... (completed in 1.7s)
[  +33 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +18 ms] "flutter precache" took 1,895ms.
[ +260 ms] ensureAnalyticsSent: 253ms
[   +6 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0

side note: Please use code fences when posting logs, for large log files please use a gist.

cc @jonahwilliams am I missing something or are our logs missing the cause of the failure? I can't even tell from the logs what it is that we failed to download...

There are a few issues with the android dependencies step (also see https://github.com/flutter/flutter/issues/64123). Since we depend on downloading these through gradle, there are a wide variety of failure cases such as missing java, gradle, or not having permissions to execute in a temp dir.
That should be unrelated to the pub get failure though

It kind of looks like pub succeeded by still returned 1 though

Same issue.
flutter doctor -v:
https://gist.github.com/diezep/d8cbcd986660ddf091d91bdda7e1f06c
flutter pub get -v:
https://gist.github.com/diezep/46ffa38d34aab5f436a71a777bd1daf8
flutter precache -v:
https://gist.github.com/diezep/5f8bebb701a9770908f51769829c6372

It kind of looks like pub succeeded by still returned 1 though

The big problem with it is that you can't run any Flutter project or create it.

@jonahwilliams I feel like something is missing here:
[   +8 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[  +92 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
           OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[   +5 ms] executing: D:\Archivos\flutter\bin\cache\flutter_gradle_wrapper.6f1ae3a\gradlew.bat -b
D:\\Archivos\\flutter\packages\flutter_tools\gradle\resolve_dependencies.gradle --project-cache-dir
D:\Archivos\flutter\bin\cache\flutter_gradle_wrapper.6f1ae3a resolveDependencies
[+1376 ms] > Task :resolveDependencies UP-TO-DATE

                    BUILD SUCCESSFUL in 1s
[   +1 ms] Failed to download the Android dependencies

We run gradle, it succeeds, supposedly, and we immediately say something failed.

I've found this german article about a workaround for "Failed to download the Android dependencies":
http://www.dieletztedomain.de/flutter-failed-to-download-the-android-dependencies/
I particularly didn't get it, but maybe it can help you guys.

It isn't work for me

I've found this german article about a workaround for "Failed to download the Android dependencies":
http://www.dieletztedomain.de/flutter-failed-to-download-the-android-dependencies/
I particularly didn't get it, but maybe it can help you guys.

That just means it returned a non-zero exit code. We should probably turn up the verbosity so the actual error gets surfaced

I think, the problem is Pub, because all commands about it, get an error, downgrade, get, and upgrade..

Something new, command
flutter pub version
returns error exit code 1 too. In verbosity gets the same error as
flutter pub get
The error log is:

@diezep Can you try flutter pub pub get --verbose?

@diezep Can you try flutter pub pub get --verbose?

the result: https://gist.github.com/Booitt/29b4be3eb44d6de997a6b32649bd52b7

I think it's important to increment the priority of this issue, it's not possible work in any project with it.

I searched everywhere for every error line that appeared to me and looks like nobody could get through this problem; the only solution so far was reinstalling the OS.
#1 Most problably the problem is with the OS version, which mine is:

#2 Another possible problem may be with a file that still got hidden and untouched 'till now just laughing at us.
I'll let this open 'cause everybody that I've found had to reinstall the OS to solve it.

@Booitt, can you try a few flutter versions, to determine if this is something new:
https://flutter.dev/docs/development/tools/sdk/releases?tab=windows
Maybe try flutter versions:

1.20.3
1.17.5
v1.12.13+hotfix.9
v1.9.1+hotfix.6

Also if you have flutter installed in c:\path\to\flutter, can you try something like:
SET FLUTTER_ROOT=c:\path\to\flutter
c:\path\to\flutter\bin\cache\dart-sdk\bin\pub get --verbose
echo %ERRORLEVEL%
c:\path\to\flutter\bin\cache\dart-sdk\bin\pub get --trace
echo %ERRORLEVEL%

You can try these commands in a folder that has a pubspec.yaml with contents like:
name: myapp
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
  sdk: ">=2.7.0 <3.0.0"
dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^0.1.3
dev_dependencies:
  flutter_test:
    sdk: flutter
flutter:
  uses-material-design: true

Or for older versions of flutter:
name: myapp
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: any
dev_dependencies:
  flutter_test:
    sdk: flutter
flutter:
  uses-material-design: true

It's still not entirely clear to me where this fails. When I run flutter pub pub get -v log output is similar to your, but exit code is different.

@jonasfj

@Booitt, can you try a few flutter versions, to determine if this is something new:
https://flutter.dev/docs/development/tools/sdk/releases?tab=windows
Maybe try flutter versions:

1.20.3
1.17.5
v1.12.13+hotfix.9
v1.9.1+hotfix.6

I tried these but not v1.9.1... without upgrading before test, and the problem continues. Then, I upgraded, and the first problem is always Failed to download the android dependencies. I think this is the root of the pub get problem and I think it's outside the flutter folder.
As as try, I completly removed Android Studio 4.1 and installed the version 3.6.2, but nothing yet.

Also if you have flutter installed in c:\path\to\flutter, can you try something like:

My path is c:\src\flutter

SET FLUTTER_ROOT=c:\path\to\flutter
c:\path\to\flutter\bin\cache\dart-sdk\bin\pub get --verbose
echo %ERRORLEVEL%
c:\path\to\flutter\bin\cache\dart-sdk\bin\pub get --trace
echo %ERRORLEVEL%

I made a batchfile and executed it on a project that I'm sure that worked before it all and it has the same config at .yaml as you mentioned, and the output was:
Allisson@ALLISSON MINGW64 ~
$ /c/Users/Allisson/Desktop/flutter/lmshop/d.bat

C:\Users\Allisson>SET FLUTTER_ROOT=c:\path\to\flutter

C:\Users\Allisson>c:\src\flutter\bin\cache\dart-sdk\bin\pub get --verbose
FINE: Pub 2.9.2
IO  : Spawning "cmd /c ver" in C:\Users\Allisson\.
IO  : Finished ver. Exit code 1.
    | stdout:
    | |
    | | Microsoft Windows [Version 10.0.18362.1016]
    | Nothing output on stderr.
ERR : Could not find a file named "pubspec.yaml" in "C:\Users\Allisson".
FINE: Exception type: FileException
FINE: package:pub/src/pubspec.dart 457:7          new Pubspec.load
    | package:pub/src/package.dart 140:27         new Package.load
    | package:pub/src/entrypoint.dart 173:24      new Entrypoint.current
    | package:pub/src/command.dart 46:59          PubCommand.entrypoint
    | package:pub/src/command/get.dart 45:12      GetCommand.run
    | package:args/command_runner.dart 197:27     CommandRunner.runCommand
    | package:pub/src/command_runner.dart 193:39  PubCommandRunner.runCommand.<fn>
    | dart:async                                  new Future.sync
    | package:pub/src/utils.dart 113:12           captureErrors.wrappedCallback
    | package:stack_trace                         Chain.capture
    | package:pub/src/utils.dart 126:11           captureErrors
    | package:pub/src/command_runner.dart 193:13  PubCommandRunner.runCommand
    | ===== asynchronous gap ===========================
    | dart:async                                  Future.catchError
    | package:pub/src/utils.dart 113:52           captureErrors.wrappedCallback
    | package:stack_trace                         Chain.capture
    | package:pub/src/utils.dart 126:11           captureErrors
    | package:pub/src/command_runner.dart 193:13  PubCommandRunner.runCommand
    | dart:async                                  _completeOnAsyncReturn
    | package:pub/src/command_runner.dart         PubCommandRunner._validatePlatform
    | dart:async                                  _completeOnAsyncReturn
    | package:pool/pool.dart                      Pool.withResource
    | dart:async                                  _completeOnAsyncReturn
    | package:pub/src/io.dart                     runProcess.<fn>

@Booitt, you need to run the command in directory with a pubspec.yaml file, with some dependencies :)
In C:\Users\Allisson>c:\src\flutter\bin\cache\dart-sdk\bin\pub get --verbose you seem to be running from C:\Users\Allisson which doesn't contain a pubspec.yaml (at-least that's what the log complains about).
Maybe just try the commands in cmd.exe, keeping it simple :)

@Booitt, you need to run the command in directory with a pubspec.yaml file, with some dependencies :)
In C:\Users\Allisson>c:\src\flutter\bin\cache\dart-sdk\bin\pub get --verbose you seem to be running from C:\Users\Allisson which doesn't contain a pubspec.yaml (at-least that's what the log complains about).
Maybe just try the commands in cmd.exe, keeping it simple :)

Sry. Updated.

@Booitt, thanks that's spot on, that log looks correct to me...
(The cmd.exe /v part that failed in logs looked a bit suspicious, I'll check that out tomorrow)
I wonder if it exited 0 or not.. can you try to run it again followed by: echo %ERRORLEVEL%

I wonder if it exited 0 or not.. can you try to run it again followed by: echo %ERRORLEVEL%

My .bat is:
SET FLUTTER_ROOT=c:\src\flutter
c:\src\flutter\bin\cache\dart-sdk\bin\pub get --verbose
echo %ERRORLEVEL%
c:\src\flutter\bin\cache\dart-sdk\bin\pub get --trace
echo %ERRORLEVEL%

I din't get what u mean...

@Booitt, thanks that's spot on, that log looks correct to me...
(The cmd.exe /v part that failed in logs looked a bit suspicious, I'll check that out tomorrow)
I wonder if it exited 0 or not.. can you try to run it again followed by: echo %ERRORLEVEL%

It is normal that exit code of command cmd.exe /v be 1?

@diezep
IO  : Spawning "cmd /c ver" in C:\Users\Allisson\Desktop\flutter\lmshop\.
IO  : Finished ver. Exit code 1.
    | stdout:
    | |
    | | Microsoft Windows [Version 10.0.18362.1016]
    | Nothing output on stderr.

This is not normal to exit with 1 right there. It's weird.

It is normal that exit code of command cmd.exe /v be 1?

That's not normal, but it shouldn't affect pub as long as it doesn't print XP in stdout.
On my VM, this part of the logs shows:
FINE: Pub 2.9.2
IO  : Spawning "cmd /c ver" in C:\Users\jonasfj\projects\myapp\myapp2\.
IO  : Finished ver. Exit code 0.
    | stdout:
    | |
    | | Microsoft Windows [Version 10.0.17763.1397]
    | Nothing output on stderr.

Crazy idea, could there be something wrong with running subprocesses in Dart?
@Booitt, Try to create a small test.dart file and run it using dart from the Flutter SDK.
import 'dart:io';

Future<void> main() async {
  final ret = await Process.run('cmd', ['/c', 'ver']);
  print('exit code: ${ret.exitCode}');
  print('STDOUT:\n${ret.stdout}');
  print('STDERR:\n${ret.stderr}');
}

Command c:\path\to\flutter\bin\dart test.dart in the folder were test.dart exists.
On my VM this unsurprising yield:
exit code: 0
STDOUT:

Microsoft Windows [Version 10.0.17763.1397]

STDERR:

@Booitt, Try to create a small test.dart file and run it using dart from the Flutter SDK.

There it is
Allisson@ALLISSON MINGW64 ~/Desktop
$ dart t.dart
exit code: 1
STDOUT:

Microsoft Windows [Version 10.0.18362.1082]

STDERR:

Here is the result

It is normal that exit code of command cmd.exe /v be 1?

That's not normal, but it shouldn't affect pub as long as it doesn't print XP in stdout.
On my VM, this part of the logs shows:
FINE: Pub 2.9.2
IO  : Spawning "cmd /c ver" in C:\Users\jonasfj\projects\myapp\myapp2\.
IO  : Finished ver. Exit code 0.
    | stdout:
    | |
    | | Microsoft Windows [Version 10.0.17763.1397]
    | Nothing output on stderr.

Crazy idea, could there be something wrong with running subprocesses in Dart?
@Booitt, Try to create a small test.dart file and run it using dart from the Flutter SDK.
import 'dart:io';

Future<void> main() async {
  final ret = await Process.run('cmd', ['/c', 'ver']);
  print('exit code: ${ret.exitCode}');
  print('STDOUT:\n${ret.stdout}');
  print('STDERR:\n${ret.stderr}');
}

Command c:\path\to\flutter\bin\dart test.dart in the folder were test.dart exists.
On my VM this unsurprising yield:
exit code: 0
STDOUT:

Microsoft Windows [Version 10.0.17763.1397]

STDERR:

exit code: 1
STDOUT:

Microsoft Windows [VersiÃ³n 10.0.18363.1082]

STDERR:

@jonasfj, would it help if you "use my playground" to play with? I can pass you a TeamViewer access... There's no problem for me.

@Booitt, @diezep, I think we're getting somewhere here :D
Is this something you can reproduce with the Dart SDK:
https://dart.dev/get-dart
@diezep, are you saying you can reproduce this? Please clarify.

If this is a bug that was introduced in some Dart 2.x release, we can start looking for the dev-release that introduced this, and then look for the commit.
But if this bug persists on all Dart 2.x releases (testing a few would reveal this), then one could start to wonder what your systems have in common, whether something is wrong there, or whether there just is a kind of Windows configuration on which Dart never worked -- and obviously how to fix that.

Yes, this was the result of your dart code
```
exit code: 1
STDOUT:
Microsoft Windows [VersiÃ³n 10.0.18363.1082]
STDERR:

@diezep, thanks if possible I would suggest you try out a few Dart SDK versions, and see if any of them will run the code such that it prints exit code: 0. That'll reveal if this is a regression or some weird Windows configuration that isn't working.

If this is a bug that was introduced in some Dart 2.x release, we can start looking for the dev-release that introduced this, and then look for the commit.
But if this bug persists on all Dart 2.x releases (testing a few would reveal this), then one could start to wonder what your systems have in common, whether something is wrong there, or whether there just is a kind of Windows configuration on which Dart never worked -- and obviously how to fix that.

I tested some dart versions, the oldest beeing 2.1.0, and it continues returning exit code 1.
@diezep do you remember how you problem started?

@Booitt, If i be honest, i don't clearly remember, could be after i did a clean in files.

@Booitt, If i be honest, i don't clearly remember, could be after i did a clean in files.

Did you try to change to master channel (for windows desktop development)?

@Booitt, If i be honest, i don't clearly remember, could be after i did a clean in files.

Did you try to change to master channel (for windows desktop development)?

No, i think the issue isn't about Flutter Desktop, because i didn't try that way in Flutter, only mobile and web

@Booitt, If i be honest, i don't clearly remember, could be after i did a clean in files.

Did you try to change to master channel (for windows desktop development)?

No, i think the issue isn't about Flutter Desktop, because i didn't try that way in Flutter, only mobile and web

Yeah! And I'm sure Windows version has nothing to do with it, 'cause I've another notebook with the exact same version as mine, and it work fine.
Then, it let with us with the try of cleaning up flutter installation, I guess. What u think?

I think we need to restore Command Prompt or do something of that way. I don't know

I tried do the code below converted to Python code, and the exit code was 1 too.
Dart:
import 'dart:io';

Future<void> main() async {
  final ret = await Process.run('cmd', ['/c', 'ver']);
  print('exit code: ${ret.exitCode}');
  print('STDOUT:\n${ret.stdout}');
  print('STDERR:\n${ret.stderr}');
}

Python:

@diezep with this Python test that you made, it changed my focus to cmd, and after some thinking and testing on it, I've got an ideia that maybe it could be the UNICODE that cmd was returning to Dart and Python that was tricking me. So, I looked to change it, and... voilà, it worked!
What I did:
1 - Start -> Run -> regedit
2 - Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun (if it don't exist, create a String value)
3 - Change the value to @chcp 65001>nul
(I restarted, but I don't know if it's necessary)
With that, the Failed to download the android dependecies and pub get failed was solved.
So, I'll wait for @diezep to do the same and get sucessful, to close this issue.
Thanks for @jonasfj and the others for all your help!

@Booitt, can you explain what this does?
How you got into this configuration?
Is there something we could do mitigate it, or can we document for this in an FAQ?

How you got into this configuration?

I googled "how to change cmd unicode" and got in this superuser discussion:
https://superuser.com/questions/269818/change-default-code-page-of-windows-console-to-utf-8

@Booitt, can you explain what this does?

It "changes the codepage for the console only".

Is there something we could do mitigate it, or can we document for this in an FAQ?

I think that when and -v error shows
exit code: 1
STDOUT:

Microsoft Windows [Version xxxx]

the problem will probably be this one and the solution too.

Yes @Booitt, it resolves the issue, you don't know how much i apreciate you, after several weeks i can work <3 <3 .
Thank you to the appropriate person for not closed this issue, no matter if it wasn't a Flutter problem directly :)

Yes @Booitt, it resolves the issue, you don't know how much i apreciate you, after several weeks i can work <3 <3 .
Thank you to the appropriate person for not closed this issue, no matter if it wasn't a Flutter problem directly :)

Nice! It was a group work btw.
That's it. Good work for you all!

@diezep with this Python test that you made, I changed my focus to cmd, and after some thinking and testing on it, I've got an ideia that maybe it could be the UNICODE that cmd was returning to Dart and Python that was tricking me. So, I looked to change it, and... voilà, it worked!
What I did:
1 - Start -> Run -> regedit
2 - Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun (if it don't exist, create a String value)
3 - Change the value to @chcp 65001>nul
(I restarted, but I don't know if it's necessary)
With this, the Failed to download the android dependencies and pub get failed was solved.
So, I'll wait for @diezep to do the same and get sucessful, to close this issue.
Thanks for @jonasfj and the others for all your help!

Thank you so much man!!! Thanks a lot!!


Proposal: Unify PLATFORM and CUSTOM_PLATFORM_NAME, Add auto-detection

You probably should see https://github.com/Azure/azure-sdk-for-c/pull/755 first, but you don't have to.
In this PR:

Unify PLATFORM (which is normally "WIN32", "POSIX", "NONE" or "USER") and CUSTOM_PLATFORM_NAME (which is supposed to be "user_pal_impl_lib").
Add platform auto-detection (when no platform is specified or when explicitly requested).

This should make it easier for the new users to get started with the SDK.
I have not tested this  yet, but based on the info I found, we should be able to make this work (https://stackoverflow.com/questions/9160335/os-specific-instructions-in-cmake-how-to).
This PR is supposed to go into another PR, https://github.com/Azure/azure-sdk-for-c/pull/755, but should the ideas from that PR be rejected, it can be rebased against master, if neccessary.

@vhvb1989 is restructuring how we build/link platforms now, and even if we may want some ideas from this PR, they will be in another places, so I am closing this PR without merging.


Add newlines between options in help text

In case of multi-line help messages for options the list of options cmd --help gets difficult to read. It would be great to have an option to toggle extra newlines after multi-line help messages / in general between option help messages.

@chaoflow , what kind of setting would this look like? I poked around to see where it might work best, I'm thinking something like this:
# Add one newline after every option:
@click.command(context_settings=dict(help_newline_padding_size=1, help_newline_padding_style='all'))
# Or, add two newlines after each multi-line option
@click.command(context_settings=dict(help_newline_padding_size=2, help_newline_padding_style='multiline'))

Is this something that the maintainers would consider adding? If so, I think this implementation could be a good start.

This seems to get the job done:
diff --git a/click/formatting.py b/click/formatting.py
index a3d6a4d..a8de859 100644
--- a/click/formatting.py
+++ b/click/formatting.py
@@ -200,10 +200,13 @@ class HelpFormatter(object):
             text_width = max(self.width - first_col - 2, 10)
             lines = iter(wrap_text(second, text_width).splitlines())
             if lines:
+                padding = ''
                 self.write(next(lines) + '\n')
                 for line in lines:
+                    padding = '\n'
                     self.write('%*s%s\n' % (
                         first_col + self.current_indent, '', line))
+                self.write(padding)
             else:
                 self.write('\n')

I could clean this up and open a pull request with some tests? (Interestingly, this change did not break any existing tests.)

I have an opinion: I think the spaces between options looks good, but I think that if there are options between some of the options, there should be blank lines between all of the options. It seems visually confusing to me for it to be inconsistent.

I haven't looked at this for a while, I'd almost forgotten about it.
I would agree that it should be all or nothing, but should that extra spacing apply only when there are help messages that wrap, or no matter what?

I'd say only when any wrap.

I think if I were deciding the rule, there would be no-spaces if no option messages wrap, and spaces for all options if at least one option wraps.
Maybe there also should be an override because I can imagine a situation where there's like, 20 options, and only one wraps, and in that case maybe it's actually better to leave the newlines out, but you couldn't really predict that ahead of time without a human looking at it and making a judgement.

Cool, I'll play around and see which ones look the best. Thanks @davidism and @mcclure!

Adding extra new lines only for some options looks to me quite inconsistent and can be very confusing. Here's a real-life example from my project:
-i, --id ID                  Run id (name or directory path).
-l, --last                   Execute the last run once again.
-a, --all                    Run all steps, customize some.
-u, --until STEP             Enable given step and all preceding steps.
-s, --since STEP             Enable given step and all following steps.
-A, --after STEP             Enable all steps before the given one.
-B, --before STEP            Enable all steps after the given one.
-S, --skip STEP              Skip given step(s) during test run execution.
-e, --environment KEY=VALUE  Set environment variable. Can be specified
                             multiple times.

-v, --verbose                Show more details. Use multiple times to raise
                             verbosity.

-d, --debug                  Provide debugging information. Repeat to see
                             more details.

-q, --quiet                  Be quiet. Exit code is just enough for me.
-f, --force                  Overwrite existing files and step data.
-n, --dry                    Run in dry mode. No changes, please.
--help                       Show this message and exit.

This creates an impression of multiple sections but very poorly organized (especially as verbose, debug and quiet belong together but are artificially separated).
If the extra empty line is added, it should be probably added to all options to get a consistent look. But then you get so much space wasted. I'd say that the previous behaviour was much better.
If it's really needed, what about making this feature configurable? It could be something like separate=[True|False|Auto]. What do you think?

No, I do not plan to add configuration options for things like this at this time. There are way, way, way too many opinions about exactly how different things should look and function, and adding options for all of them becomes way too complex. The general philosophy of Click is to makes decisions where it can rather than providing configuration for everything, although there is a general desire to refactor the formatting system to allow projects to override these sorts of things without having to add options for everything in #561.


any readme/guide for this project or it's for personal usage only

nw loseall

Thanks for your interest in my work. It's a personal developed project, but I am happy to open it to the community. I've updated readme file, if you still have any questions, just let me know.

Great project, I've send you an email requesting for personal contacts, I hope it didn't cause you any trouble.


make some buffers non-mutable

Using the spi::Write trait, we can make some buffers non-mut. For example, send no longer overwrites the packet buffer.

Fixed it :)

Fixed it :)


Create Quick Sort

Program to explain Quick sort

Hi Dear @AbhimanyuCODER
Great code
Thanks for your contribution......
Show your support on my youtube channel web Pixar(The institute of coding)
like , share , subscribe
youtube - https://youtu.be/5qnQjgdpFPg
telegram-channel - https://t.me/WebPixar
join our telegram channel for more goodies , swag packs


Fix reference links color for light mode

Our light mode will not change the text color of our reference links. Implement the text color toggle for the references link section since it is no longer inside the response.
Dark mode:
Light mode:

Will be fixed in branch 'issue-014'


Importing pywavefront.visualisation raises NameError

When trying to import the visualisation module, the following error occurs:
'V3F': GL_V3F,

NameError: name 'GL_V3F' is not defined
This seems to be due to the lack of correct import from pyglet. As it stands it means that the current example on the readme page does not work. Have I missed something, or is this an issue with a new version of pylet?
Thanks :)

ah right. It only works with pyglet 1.5.x. Probably need to make a version for pyglet 2.
Pyglet 2 is using OpenGL 3.3 core and have deprecated all fixed pipeline stuff. Basically 80%+ of old stuff is ripped out and you are left with buffers, textures and shaders.


Physics: disable required fields modal unless on the CS site

A slight extension on this, that I've just realised is needed, is that the account page also requires fields for submission.
It was my suggestion to just not include the middleware for Physics but I think to do it properly we will need to, instead, alter the validation service to require different fields for Physics and CS (it then doesn't really matter if the middleware is included or not).
I'll close the pull request, fix the task description and put it back on the queue for whoever to pick up. Sorry!


services.AddDatabaseDeveloperPageExceptionFilter(); does not work

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3ad06677-5842-c1aa-153f-7993a9660dfa
Version Independent ID: 8daf79df-eac4-358b-e6f0-6def45bd54da
Content: Tutorial: Get started with EF Core in an ASP.NET MVC web app
Content Source: aspnetcore/data/ef-mvc/intro.md
Product: aspnet-core
Technology: aspnetcore-data
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Can you post to a public repo the simplest possible sample showing it doesn't work?


Vertical Stepper does not work well with CustomScrollView

Steps to Reproduce

Create a long list of steps (exceeding the screen size) in CustomScrollView (with ClampingScrollPhysics)
Scroll down to the last step (or anything overflowed)
Click on it
It jumps back to the top

P/S: It jumps everywhere with NestedScrollView

Logs
Ezras-MacBook-Pro:codecumbers ezragunn$ flutter analyze
Analyzing codecumbers...
No issues found! (ran in 14.5s)

Ezras-MacBook-Pro:codecumbers ezragunn$ flutter doctor -v
[✓] Flutter (Channel master, v1.9.6-pre.67, on Mac OS X 10.14.6 18G87, locale
    en-GB)
    • Flutter version 1.9.6-pre.67 at
      /Users/ezragunn/private-develop/SDKs/flutter
    • Framework revision 73b798b260 (15 hours ago), 2019-08-28 16:01:47 -0700
    • Engine revision 728ff715e8
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/ezragunn/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 38.2.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[✓] IntelliJ IDEA Community Edition (version 2019.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 38.2.4
    • Dart plugin version 192.6459

[✓] Connected device (1 available)
    • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 9
      (API 28) (emulator)

• No issues found!

If you could provide a small self-contained app that demonstrates the problem that would help. Note also: https://gist.github.com/ is a useful way to share the code.

@HansMuller here's the self-contained app that demonstrates the problem
https://gist.github.com/ezraaaa/a4394737a092af88ff55e9945d24d5f2

@HansMuller just checking, is there any fixes/ workaround for this issue?

is this problem resolved? I have the same problem.

it's not @duranapdan, i couldn't find a way to do a temp fix too

I found the solution. "NestedScrollView" solves the problem

not really. whenever you tap on steps in the middle, the step will jump up to the top of the screen.

I think this is a duplicate of https://github.com/flutter/flutter/issues/36163
I am going to close this one since the other has more upvotes and therefore higher priority ranking. :)
If you think this is not a duplicate, let us know and we'll re-open!
Thanks!


EDR-State-Machine Thread Crashes, if a Secret in a Vault has already been Deleted

Describe the bug
The EDR-State-Machine thread seems to crash, if a secret in a vault has already been deleted. This seems to be caused by https://github.com/eclipse-tractusx/tractusx-edc/blob/b798d2c6e2be40849b5800d1ee200dc31e1a78d5/edc-extensions/edr/edr-cache-sql/src/main/java/org/eclipse/tractusx/edc/edr/store/sql/SqlEndpointDataReferenceCache.java#L191
This line throws an EDC-Exception, which is not handled anywhere. Also the corresponding EDR-Entry is not deleted, as the transaction does not succeed. As a result even after restarting the EDC the EDR-State-Machine thread proceeds to crash.
To Reproduce

Successfully start a EDR-Negotiation
Delete the corresponding EDR-Entry in the Vault
EDR-State-Machine thread crashes
See no progress on all EDRs anymore

Expected behavior

EDR deleted, even if the corresponding secret is already deleted
EDR-State-Machine proceeding to progress on transitioning EDR-states

Context Information

Used version: 0.5.4

Expected exception thrown in L191:
https://github.com/eclipse-tractusx/tractusx-edc/blob/b798d2c6e2be40849b5800d1ee200dc31e1a78d5/edc-extensions/edr/edr-cache-sql/src/main/java/org/eclipse/tractusx/edc/edr/store/sql/SqlEndpointDataReferenceCache.java#L182-L200
Possible Implementation
You already know the root cause of the erroneous state and how to fix it? Feel free to share your thoughts.

Hi @efiege
thanks for raising this,
is step 2) Delete the corresponding EDR-Entry in the Vault
happens manually as vault operation?

Anyway we could fix the code that you pointed, but i'm not sure it's worth it.
The all EDR state machine will be gone soon as mechanism to "refresh" token and it will be greatly simplified and handled by the refresh specification for tractusx on top of EDC data plane signaling.
Check here if you are not aware of this

https://github.com/eclipse-tractusx/tractusx-profiles/blob/main/tx/refresh/refresh.token.grant.profile.md
https://github.com/eclipse-tractusx/tractusx-edc/blob/main/docs/development/dataplane-signaling/tx-signaling.extensions.md

I guess this issue won't be fixed as that code doesn't exist anymore, added the stale label so the stalebot can do its job


Fix SteamVR trackers trackers toggle section

Please upload the image to the repo instead of using imgur

Please add it as a Git LFS file and not in the actual repo. PNGs are big and don't belong in source control.

Please add it as a Git LFS file and not as an actual Git file. PNGs are big and don't belong in source control.

Uncompressed PNG size: 11kb
After lossless compression: 3.3kb
Our favicon is larger than this image, lmao. But maybe using Git LFS has some benefits for rarely changed static files.

Ideally, all images will be in LFS. It's also better for diff performance. Actually I don't know why they aren't? LFS should've been set up for all repos... It's a bit of a pain to move files to LFS.


Fixes to dropdown.js

Fixes medium breakpoint issues, and left align "ignore" flag undefined js error

My only concern is any additional call to adjust_pip.  This function is our top worse performing Zurb function when run through a profiler.  So much so... that whenever we do NOT need a pip with a dropdown... we simply (and literally) kill/override the function like this: Foundation.libs.dropdown.adjust_pip = function() {};

@coreysyms You should be able to "cache" calls to the following in the "right" function (and save a few milliseconds):
this.outerWidth();
t.outerWidth();
t.outerHeight();

Hey guys! Love this one! @coreysyms already did some great work with dropdowns previously. Would you consider this PR ready for test and merge?

@coreysyms This is great! Are you able to resolve the merge conflicts?
@zurbchris Can we test this for merge?

Im going to clean up via the suggestions from @dragthor in the coming days, will post soon.

Please and thank you! I would love to improve the performance of this.

such good stuff. @coreysyms, @zurbchris any updates on when this might be merged?

@coreysyms Jus checking in on this one - We're doing a patch on Foundation 5 this week and this is a really valuable add in you made. Were you able to update the PR with the feedback from @dragthor ? Let us know how we can support you!

Hang loose, my forks are all messed up since working with the different versions of 5 and 6.

@rafibomb Hey Rafi, I have not been in 5 in a while, but I'm confused now with which fork I need to be in

It's the V5 branch on the foundation-sites repo.

Sorry guys to jump PR's but this one is acting up in the desktop... take a look here https://github.com/zurb/foundation-sites/pull/7945

Closing in favor of #7945
@coreysyms Thanks for updating your pull request :)


Add intake-bluesky to plugin directory.

(appveyor error is in conda, not the code - could have done [skip ci] in the commit message for a doc-only PR)

Thanks!


Question about obtaining values

Hello - Does anyone know if there is a way to check across cubes if specific dimension elements have data associated with them?  I am currently using MDX and querying cubes at all top levels except the dimension with elements in question and creating a subset off the returned elements with a value of 0.  I then use this subset to drill into a suppressed view and expanded time dimension and and account dimension where there are potential reversals to get the real set.  It's do-able but just wondering if there may be a quicker or faster way, or if it would be a possible enhancement feature.  We have multiple dimensions with 2+ million elements, many we now have no data but trying to do anything in perspectives with that size is impossible.  What I am doing is not the most efficient but works.  Has anyone done something similar?  I would imagine it could be beneficial to have a way to cleanup unused elements in a dimension when working with large models.
Thanks!

Hi @jbeanz23,
I think your second step:

I then use this subset to drill into a suppressed view and expanded time dimension and and account dimension where there are potential reversals to get the real set

wouldn't be necessary, if you had clean TOTAL consolidations in every dimension.
What are the limitations of your current approach? - is it too slow or overly complex code-wise?
In my previous project, we had exactly the same problem.
The overly large dimensions (> 1M leaves) were slowing the users down in their daily work.
After we noticed that only roughly half of the leaf elements actually had data associated with them, we implemented a clean-up job that would run regularly and remove "obsolete elements".
We used a similar approach that you are describing:
For n cubes, we would execute MDX queries that have all leaves of the dimension in-question on the rows, and the total elements of all other dimensions on the columns.
Then we would know for each cube, which elements are empty.
Then we would intersect the result sets from the cubes. The result is the elements that can safely be removed.
In order to speed it up we did two things:

parallelize the MDX executions against the different cubes
delete the obsolete elements with TI. Python would create a subset with the obsolete elements and would then execute a process that deletes the elements from the dimension.

Sorry for the delay.  That is what we are currently doing though we have not got to the deletion of obsolete elements.  We do have one of the region specific dimensions that does have multiple (15K) consolidations so that may be an issue but we have not started on that one yet


⚠ ClamAV has degraded performance

In 0a92e7d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 156 ms

Resolved: ClamAV performance has improved in bc2a4a1.


services/horizon: Check state rebuild in state verification integration test

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Check state rebuild in state verification integration test.
Why
All integration tests start from empty state so we don't test building state from history archives. Extended state verification integration test to trigger state rebuild (horizon expingest trigger-state-rebuild) and verify rebuild state again. Such test would catch the bugs like https://github.com/stellar/go/pull/3100 and https://github.com/stellar/go/pull/3096.
Known limitations
It will make the test 3x slower so let's merge it after moving integration tests to nightly runs.

Damn, closed because I removed a release branch. Going to create a new PR.


feat: draft design of python sandbox for solver algortihm blackbox

flask + json schemas (open api and cosmwasm) seems web variant (so solver is server). I guess this one to use.

Rust command and generating pyo3 Rust structs into Python   (so Solver just run python process on each request)

Also looked Rust host python interpeter pyo3 and add modules - to dirty - and anyway need to give python to run without rust easy. So doubt it is cleaner and faster.

talked to Vlad T, seems Gloria will be up to other stuff, so need to port my Rust to Python for data and enrich more myself within Python


CXF-7371: use objectweb-asm to extract parameter-names from the debug-info of the service-class

Suggested fix for https://issues.apache.org/jira/browse/CXF-7371.

This creates a hard dependency on a particular ASM implementation and as such is not something we will merge.   You will likely need to update the org.apache.cxf.common.util.ASMHelper class to support the ClassReader (in addition to the current ClassWriter stuff) and make sure all the asm calls go through there.

OK, I will do so.

There is no good solution for reading classes with ASM without direct coding against concrete ASM-classes (the "normal" (visitor-based) way isn't usable with reflection/proxying, because the visitors are in ASM >v3 classes (no longer interfaces); the non-visitor-based ways (tree, SAX-events) require optional ASM-libraries, whose existence must here surely not be assumed).
I see under this circumstances the only reasonable solution to extend the current (self-made) byte-code-parser to handle the Java8-constants.


Is it supported: descriptions on queries/mutations/subscriptions?

Discussed in https://github.com/dotansimha/graphql-eslint/discussions/907

Originally posted by stevenschmatz January 17, 2022
I see require-descriptions rule, but it looks like this only applies to types. Would love to enforce descriptions on queries, mutations, and subscriptions.

Fixed in https://github.com/dotansimha/graphql-eslint/pull/912


Fix runtime logging in parallel_tests for turnip

When rutabaga was included, the monkeypatch on features was confusing
rspec when finding the file of the example group for turnip mode. This was
then not being output in the corresponding runtime log when using parallel_tests.
Couldn't figure out an easy way to test inside the gem as it requires rspec formatters and such.
@gzzsound @pvdb @amar-shah

I don't like the monkey patch but if this speeds up the build time ...
signed-off-by: @gzzsound

The monkey patch was always there. This just makes it work with the formatters. Sign off?


How to configure loop & slidesPerView in SwiperV9

Discussed in https://github.com/nolimits4web/swiper/discussions/6444

Originally posted by redd97 March  1, 2023
I used Swiper version 8.4.7, and found a bug.
But since it is not supported, I tried to upgrade to version 9
But I, and not only ran into problems( 1 , 2 , 3 , 4 , 5 , and similar ) with slidesPerView and loop when trying to make a responsive slider using breakpoints
Since the 'loop' of the new version of the slider has a limitation (number of slides must be >= slidesPerView * 2), I'm stumped on how to make a looped slider.
For example:
I have four slides.
On the phone it shows 1.  (slidesPerView * 2 <= 4) Should work
On the tablet 2.    (slidesPerView *2 <= 4 ) Should work
On the computer 3.  (slidesPerView *2 > 4) will break
The idea of duplicating slides comes to mind, but there will already be problems with pagination:

increasing the number of dots
switch to slide an set it's active when you click on the dot (slide to original slide, or duplicate) and more.

How can I solve this problem?

Do you want to ask a question? Are you looking for support? Stack Overflow or Swiper Discussions is the best places for getting support

Please, don't use GitHub issues for questions


Preparing release 1.1.2

Codecov Report

Merging #2229 into 1.1.x will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##            1.1.x    #2229   +/-   ##
=======================================
  Coverage   79.47%   79.47%
=======================================
  Files          85       85
  Lines        8845     8845
  Branches     1889     1889
=======================================
  Hits         7030     7030
  Misses       1550     1550
  Partials      265      265

Impacted Files
Coverage Δ

webapp/graphite/settings.py
77.27% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d04efb4...b097495. Read the comment docs.


BPM values greater than 50 are inaccurate

Hello all!
Could somebody look into this sketch?
http://alpha.editor.p5js.org/datramt/sketches/ryTIU0zxX
(press spacebar to play)
In the sketch above, I measure the time difference between attacks to show that if you set the BPM of a part to values greater than 50, the part will play at a considerably faster rate.
The expected tempo and actual playback tempo differential is not constant. The tempo differential is small around the lower BPM ranges (51bpm - 70bpm), but it increases for faster values, so much so that if you set the tempo to 240, it will playback at 327bpm!
I compared the values I was getting in this test with a tap metronome, which confirmed that my test was accurate... although, don't get me wrong, I could very well be missing something fundamental about how metro/part is supposed to work ;)
I've tested in Chrome, Safari, and Firefox.
Thanks!

Thanks for the issue and example! This is strange... I'd look at where we convert BPM to frequency here

I don't know if this helps, but it's certainly interesting.   First, I can confirm @datramt observations with a slightly differently coded version taken from the example files in the p5js editor.    Furthermore, using his version, I mapped out the relationship between the input BPM and the actual BPM in steps of 5bpm all the way from 0 to 245.   It was not what I expected.

So, the increases (in error) only happen at BPMs of 50, 100, 150, 200, etc.   In between, that error remains constant, until it gets to the next multiple of 50, then the amount of error jumps again.
Weird.
Hope this can help to track down the problem.   I was really hoping to use this library to conduct a experiment (on the perception of tempo), but I have to be able to trust it first.
Cheers,
Mark

Is there anyone out there who can take a look at this issue.   I was in the process of programming an entire suite of experiments, but without proper BPM timing, I can use p5.js at all!    Help!

Bump!