title: Android Studio error "Installed Build Tools revision 31.0.0 is corrupted"
body: <p>I'm on Android Studio 4.2.2. I created a new project and haven't added anything to the starter code and whenever I click <em>build or run</em>, I get this error:</p>
  <blockquote>
  <p>Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.</p>
  </blockquote>
  <p>I've looked at other posts' suggestions, but neither of those solutions worked. Here's what I've tried:</p>
  <ol>
  <li>SDK Manager → <em>SDK Tools</em> → check &quot;Show package details&quot;, uncheck 31.0.0, and click &quot;Apply&quot; → Uninstall 31.0.0 → check 31.0.0 and reinstall it</li>
  <li>In SDK Manager, deselect 31.0.0 and try installing an older version (e.g., I've tried 30.0.3) and update &quot;buildToolsVersion&quot; in <em>build.gradle</em> to the installed version</li>
  <li>Went to <em>Project Structure</em> → <em>Properties</em> and verified that 31.0.0 is selected for &quot;Build Tools Version&quot; and &quot;Compiled SDK Version&quot;</li>
  <li>Manually remove the stuff in the build-tools folder; i.e., <code>rm -rf /path/to/android/sdk/build-tools/31.0.0</code> (it doesn't end in &quot;-rc&quot; like some other posts have described)</li>
  <li>Restart Android Studio</li>
  <li>Reinstall Android Studio</li>
  </ol>
  <p>I'm an Android noob just trying to set up a <em>Hello, World!</em> project, and it really shouldn't be this hard.</p>