When I make a new proyect, then Build-make project or try to Run App in an emulator with sdk api level 28 (Android 9.0 Pie), the Build Output window always show me this error:
Installed Build Tools revision 28.0.3 is corrupted. Remove and install again using the SDK Manager.
I removed and reinstalled the sdk several times, and always gives me the same error. I'm using Android Studio 3.6.3 with build:gradle:3.6.3.
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.
If you want to change the Build Tools version in your project, that is specified in project's build. gradle file (in the 'app' module). Open the file and either add or update the Build Tools version you want to use by adding/updating the following property in the 'android' section: android { buildToolsVersion "27.0.
1) Open the SDK manager by clicking on the icon in the top right of Android Studio. (Or go to File > Settings > Appearance & Behavior > System Settings > Android SDK)
2) Open SDK Tools tab
3) At the bottom-right, click "Show Package Details"
4) Find Android SDK Build-Tools and uncheck the checkbox next to 28.0.3
5) Click apply in the bottom of the window. That will delete the component.
6) Now check the checkbox next to 28.0.3
7) Click apply in the bottom of the window. That will reinstall it.
SDK Tools Screenshot
I tried
e.g. Open Your SDK Path: C:\Users\Administrator\AppData\Local\Android\Sdk\build-tools
then the build should succeed.
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