问题
I just updated my android studio from 2.3 to 3.0 from stable channel.
But I was getting this error
Failed to find Build Tools revision 26.0.2 Install Build Tools 26.0.2 and sync project
I do tried to install this but still failing to resolve
回答1:
Open SDK manager to check installed buildtool revision version:
for example, I have version 27.0.3 installed.
Then add buildToolsVersion '27.0.3'
in build.gradle
:
回答2:
You can install any version of build tools manually. Please go to Preferences > Appearance & Behavior > System Settings > Android SDK. Then select "SDK Tools" pane and be sure to check "Show package details" below the list. Then you can install additional versions of Android SDK Build-Tools. Voila!
来源:https://stackoverflow.com/questions/47007220/android-studio-failed-to-build-tools-after-updating-to-3-0-from-2-3-stable-chann