<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">I installed git and flutter onto my windows 10 computer. I followed the tutorial and entered the command:</p>
<p dir="auto">flutter doctor</p>
<p dir="auto">Then it looks like it tries to update the flutter tool but it fails every time and then tries to update again in an infinite loop of updating and failing.</p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PS C:\WINDOWS\system32&gt; flutter doctor
Updating flutter tool...
%1 is not a valid Win32 application.

  Command: C:\Users\[username]\flutter\bin\cache\dart-sdk\lib\_internal\pub\asset\7zip\7za.exe e data.tar.gz
Unhandled exception:
Could not import &quot;package:flutter_tools/executable.dart&quot; from &quot;file:///C:/Users/[username]/flutter/packages/flut
ter_tools/bin/flutter_tools.dart&quot;: Packages file 'file:///C:/Users/[username]/flutter/packages/flutter_tools/.pa
ckages' not found.
null
Updating flutter tool...
%1 is not a valid Win32 application.

  Command: C:\Users\[username]\flutter\bin\cache\dart-sdk\lib\_internal\pub\asset\7zip\7za.exe e data.tar.gz
Unhandled exception:
Could not import &quot;package:flutter_tools/executable.dart&quot; from &quot;file:///C:/Users/[username]/flutter/packages/flut
ter_tools/bin/flutter_tools.dart&quot;: Packages file 'file:///C:/Users/[username]/flutter/packages/flutter_tools/.pa
ckages' not found.
null
Updating flutter tool...
%1 is not a valid Win32 application."><pre class="notranslate"><code class="notranslate">PS C:\WINDOWS\system32&gt; flutter doctor
Updating flutter tool...
%1 is not a valid Win32 application.

  Command: C:\Users\[username]\flutter\bin\cache\dart-sdk\lib\_internal\pub\asset\7zip\7za.exe e data.tar.gz
Unhandled exception:
Could not import "package:flutter_tools/executable.dart" from "file:///C:/Users/[username]/flutter/packages/flut
ter_tools/bin/flutter_tools.dart": Packages file 'file:///C:/Users/[username]/flutter/packages/flutter_tools/.pa
ckages' not found.
null
Updating flutter tool...
%1 is not a valid Win32 application.

  Command: C:\Users\[username]\flutter\bin\cache\dart-sdk\lib\_internal\pub\asset\7zip\7za.exe e data.tar.gz
Unhandled exception:
Could not import "package:flutter_tools/executable.dart" from "file:///C:/Users/[username]/flutter/packages/flut
ter_tools/bin/flutter_tools.dart": Packages file 'file:///C:/Users/[username]/flutter/packages/flutter_tools/.pa
ckages' not found.
null
Updating flutter tool...
%1 is not a valid Win32 application.
</code></pre></div>
<p dir="auto">This just keeps going on forever. What am I doing wrong?</p>
<p dir="auto">I want to do a server side authentication, so I need a refresh token to request an access token on server side. How can I get that?</p>