是什么导致以下问题?我的Android SDK版本不受支持吗?

Starting JS server...                                                                     
Building and installing the app on the device (cd android && gradlew.bat installDebug)...

FAILURE: Build failed with an exception.                                                  

* What went wrong:                                                                        
A problem occurred configuring project ':app'.                                            
> failed to find Build Tools revision 23.0.1       

推荐答案

可能您需要更新构建工具.

当我试图从图形界面更新时,我遇到了这个问题,它没有显示确切的次要版本,所以我无法更新到它.

通过查看终端的可用版本,解决了这个问题:

android list sdk -a

[...]
Packages available for installation or update: 156
1- Android SDK Tools, revision 24.4
2- Android SDK Platform-tools, revision 23.0.1
3- Android SDK Platform-tools, revision 23.1 rc1
4- Android SDK Build-tools, revision 23.0.1

[...]

并安装正确的版本,包括:

android update sdk -a -u -t 4

Reactjs相关问答推荐

Redux toolet TypHelp:在使用redux thunk获取数据时无法读取未定义(读取类型)的属性

React onKeyUp不一致地使用快速Shift+键按压

UseEffect和useSelector的奇怪问题导致无限循环

react 路由GUGUD Use Effect无法通过useNavigate正常工作

导致useState中断的中断模式

如何使我的代码可以接受我想要的每一个链接

透明MOV文件未出现在我的React网页中

在任何渲染之前在ReactJs中获取数据

React Context API 在 Next.js 中更改路由时获取默认数据

无法使用react-hook-form和react-places-autocomplete在字段中输入值

React Native - 如何处理错误带有有效负载的NAVIGATE操作..未被任何导航器处理?

useEffect内部的RETURN语句在首次按钮点击事件中似乎无效的原因是什么?

BrowserRouter改变了URL但没有链接到页面

React Native 背景动画反转

ReactJS:在导航栏中使用 Select inside Link 组件时如何避免重定向?

使用 react-markdown 组件时 Tailwind CSS 的问题

如何在 React Native 中更新跨屏幕呈现的上下文状态变量?

无法读取未定义的react native 的属性参数

如何在 v6.4 中将 Auth0 提供程序与新的 createBrowsereRouter 一起使用?

在 redux 状态更改时更新react 按钮禁用状态