Build-tools error

SAB 9.3 on Windows doesn’t seem to like the latest build-tools 32.0.0 from the Android SDK.
I receive a build error claiming that the build-tools is corrupted and I should reinstall. In fact, the solutions appear to be either downgrade build-tools, or proceed as follows:

Go to your Android SDK folder, and into build-tools\32.0.0
Find a file named d8.bat. Copy and paste it giving a new name of dx.bat
Go into the “lib” subfolder
Find a file named d8.jar. Copy and paste it giving a new name of dx.jar

At least that got things going for me. Hope that helps somebody.