Failed to find Build Tools revision 26.0.2
时间: 2024-05-14 13:12:56 浏览: 194
This error message typically appears when trying to build an Android project with Gradle and the required Build Tools version is not installed on your system.
To fix this issue, you need to install the required Build Tools version. You can do this by opening the Android SDK Manager and selecting the "SDK Tools" tab. From here, check the box next to "Android SDK Build-Tools" and select the version you need (in this case, version 26.0.2).
Once you have installed the required Build Tools version, update your Gradle build file to reference this version. You can do this by adding the following line to your build.gradle file:
```
buildToolsVersion "26.0.2"
```
After making these changes, try building your project again. The error message should no longer appear.
阅读全文