Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to find build tools revision 29.0.2 - Android Studio [duplicate]

Recently I encountered this issue after updating my android studio to the latest version 4.0.

like image 485
Dayo Jaiye Avatar asked Jul 07 '20 15:07

Dayo Jaiye


People also ask

How do I find my build tools?

Android SDK Build-Tools is a component of the Android SDK required for building Android apps. It's installed in the <sdk>/build-tools/ directory.

How to check buildToolsVersion in Android Studio?

For the compileSdkVersion you can goto Tools > Android > SDK Manager . This will pull up a window that will allow you to manage your compileSdkVersion and your buildToolsVersion . You can also select the link at the bottom left (Launch Standalone SDK Manager) this will give you a little bit more information.

Does Android Studio come with SDK?

Android SDK comes bundled with Android Studio, Google's official integrated development environment (IDE) for the Android operating system.


Video Answer


3 Answers

I recently solved this problem

Open Android Studio

  1. Click on File > Settings > Appearance & Behaviour > System Settings > Android SDK
  2. Click on SDK Tools
  3. Under that Click on Android SDK Build Tools
  4. Click on Show package Details at the bottom right corner
  5. Now find 29.0.2
  6. Click on that
  7. Click on Apply > (Wait until download completion) > Finish > Ok
like image 85
Sharath B Naik Avatar answered Oct 19 '22 02:10

Sharath B Naik


  1. Click Open Project Structure icon or use keyboard shortcut directly (shift+ctrl+alt+s)

Project Structure

  1. Click Modules

Modules

  1. Select the properties option

properties

  1. choose to download and install the various configurations make sure the Build Tools version and the compiled sdk version are consistent

download and install

  1. Re-run the project
like image 44
Mikaware Avatar answered Oct 19 '22 03:10

Mikaware


So tried all the solutions but got stuck at one point, couldn't locate "C:\Users\Username\AppData\Local\Android\Sdk\build-tools" this path.

The way around this is to close the current project you're working on.. Click "Configure" at the bottom right of Android studio Click 'SDK manager" Click 'SDK tools" Tick 'Show Package Details" look for the corresponding build-tools, in my case, 29.0.2 Click apply

it should download the build tool>>> then rebuild project

like image 2
Ekama Emmanuel Uloho Avatar answered Oct 19 '22 03:10

Ekama Emmanuel Uloho