Recently I encountered this issue after updating my android studio to the latest version 4.0.
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.
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.
Android SDK comes bundled with Android Studio, Google's official integrated development environment (IDE) for the Android operating system.
I recently solved this problem
Open Android Studio
File > Settings > Appearance & Behaviour > System Settings > Android SDK
SDK Tools
Android SDK Build Tools
Show package Details
at the bottom right corner29.0.2
Apply
> (Wait until download completion) > Finish
> Ok
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With