I have started seeing a problem when using the Android ADB. Essentially, on a Windows 10 machine, if I run at the command line:
adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk
Then the application runs and reports 28 (which is correct), but then Windows dialog box is displayed reporting that adb.exe has stopped working.
Running the Appium server and attempting to connect to the emulator also throws an error:
adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk' exited with code 3221226356'; Stderr: ''; Code: '3221226356'
By doing a certain amount of Googling, I think that the two problems are related.
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?
Alternatively, does anyone know what is causing this problem and how it can be fixed? Here's my environment:
Windows 10 Pro (1809)
Android Studio 3.4.1
Android Debug Bridge version 1.0.41
Version 29.0.0-5611747
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.