delete this folder inside build-tools (because the error is not installed properly). for resolving this issue, we have to uncheck all the latest plateforms (android (S)12 etc) and click apply after this restart the studio and check all these platforms again at least one latest and apply(ok).12 Mar 2021