title: Error 3221226356 when running adb command
body: <p>I have started seeing a problem when using the Android ADB. Essentially, on a Windows 10 machine, if I run at the command line:</p>
  
  <pre><code>adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk
  </code></pre>
  
  <p>Then the application runs and reports 28 (which is correct), but then Windows dialog box is displayed reporting that adb.exe has stopped working.</p>
  
  <p>Running the Appium server and attempting to connect to the emulator also throws an error:</p>
  
  <pre><code>adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk' exited with code 3221226356'; Stderr: ''; Code: '3221226356'
  </code></pre>
  
  <p>By doing a certain amount of Googling, I think that the two problems are related.</p>
  
  <p>One suggestion made is to re-install an older version of adb, but I can't work out how to do this. Does anyone know?</p>
  
  <p>Alternatively, does anyone know what is causing this problem and how it can be fixed? Here's my environment:</p>
  
  <pre><code>Windows 10 Pro (1809)
  Android Studio 3.4.1
  Android Debug Bridge version 1.0.41
  Version 29.0.0-5611747
  </code></pre>
  
  <p>I should add that I used to be able to run adb but very recently, I installed an update Android API and in doing so, I was prompted to (I think) update adb and hardware acceleration. Obviously this may be related, but I can't work out how to back out the update.</p>