Android studio failed to build tools after updating to 3.0 from 2.3 stable channel

醉酒当歌 提交于 2019-12-05 07:26:36

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!