blog/异常处理/解决android运行-Failed-to-find-...

38 lines
919 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 解决android运行'Failed to find Build Tools revision 30.0.2'的问题.md
tags:
- android
- exception
categories: exception
date: 2021-10-29 20:31:52
---
## 在某次运行的时候突然出现了该报错
```
Failed to find Build Tools revision 30.0.2
```
## 解决方法
+ ## 首先打开sdk manager
![](https://gitee.com/aabbccddeeeff/img/raw/master//img/202110292058476.png)
+ ## 点击sdk tools,查看第一个Android sdk build tools是否下载如果没有下载则选中进行下载若下载了则记住版本号
![](https://gitee.com/aabbccddeeeff/img/raw/master//img/202110292101282.png)
+ ## 右键单击项目根目录选择Open module setting
![](https://gitee.com/aabbccddeeeff/img/raw/master//img/202110292054075.png)
+ ## 在如图地方,填上上面的版本号
![](https://gitee.com/aabbccddeeeff/img/raw/master//img/202110292104361.png)
## 问题解决