filmov
tv
[SOLVED] How to solve failed to find build tools revision 26.0.2 Android Studio
![preview_player](https://i.ytimg.com/vi/4W3ZjEIR0Kg/maxresdefault.jpg)
Показать описание
I'm trying to Install Build Tools 26.0.2 and sync project and show
Failed to find build tools revision 26.0.2
Android Studio is looking for build tools 26.0.2, but build tools 27.0.3 is already released for Android Oreo 8.1
I am not totally sure why, but Android Studio doesn't set the build tools in the gradle "app" file anymore. So here is how I fixed it. You get two options.
Method 1 - Install the missing build tools
1) Open the SDK manager by clicking on the icon in the top right of Android Studio. It looks like an android head in front of a download arrow. (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 check the checkbox next to 26.0.2
5) Click apply in the bottom of the window
Method 2 - Use latest build tools
1) Follow instructions above
2) Uncheck all build tools besides 28.0.3 (the latest build tools at the time of writing)
Then you can define android build tools 28.0.3 in your gradle app file. To do this:
3) Make sure build tools 28.0.3 is installed by using the Android SDK manager (steps above).
Failed to find build tools revision 26.0.2
Android Studio is looking for build tools 26.0.2, but build tools 27.0.3 is already released for Android Oreo 8.1
I am not totally sure why, but Android Studio doesn't set the build tools in the gradle "app" file anymore. So here is how I fixed it. You get two options.
Method 1 - Install the missing build tools
1) Open the SDK manager by clicking on the icon in the top right of Android Studio. It looks like an android head in front of a download arrow. (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 check the checkbox next to 26.0.2
5) Click apply in the bottom of the window
Method 2 - Use latest build tools
1) Follow instructions above
2) Uncheck all build tools besides 28.0.3 (the latest build tools at the time of writing)
Then you can define android build tools 28.0.3 in your gradle app file. To do this:
3) Make sure build tools 28.0.3 is installed by using the Android SDK manager (steps above).
Комментарии