Tags
Android
Asked 4 years ago
28 Apr 2020
Views 931
kiran

kiran posted

Adroid Project export Error Failed to find Build Tools revision 26.0.2

imported a old project to Android studio .. and try to run it and i get following error

Caused by: java.lang.IllegalStateException: Failed to find Build Tools revision 26.0.2



ERROR: Failed to find Build Tools revision 26.0.2
Install Build Tools 26.0.2 and sync project
Upgrade plugin to version 3.6.3 and sync project
Phpworker

Phpworker
answered Apr 25 '23 00:00

The error message "Failed to find Build Tools revision 26.0.2" usually occurs when the required version of Build Tools is not installed on your system. Here are some steps you can follow to resolve the issue:

1.Open the Android SDK Manager and check if the Build Tools version 26.0.2 is installed. If it is not installed, install it and restart Android Studio.
2.Update your build.gradle file to use a different version of Build Tools that is already installed on your system. To do this, open your build.gradle file and change the buildToolsVersion to the version that is installed on your system. For example, if version 27.0.3 is installed, change buildToolsVersion "26.0.2" to buildToolsVersion "27.0.3".
I3.f neither of the above solutions work, try deleting the .gradle folder located in your project directory and rebuilding your project. To do this, close Android Studio, navigate to your project directory, and delete the .gradle folder. Then, reopen Android Studio and try rebuilding your project.
If none of these solutions work, you can try uninstalling and reinstalling Android Studio, as it may be a more serious issue with your installation.






Regenerate response
Post Answer