本文介绍了Expo:无效的sdkVersion"32.0.0"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试根据安装指南使用expo配置运行react-native应用程序时出现此错误吗?

while trying to running react-native app according to installation guide using expo configuration i caught this error ?

这是我在app.json中的博览会配置:

this is my expo config in app.json :

我的开发环境:

推荐答案

类似于堆栈跟踪的相关部分如下:

Looks like the relevant part of your stack trace is the following:

然后它告诉您 Expo 支持 SdkVersion :10到31(含),但在您的 app.json 中文件您正在尝试使用版本32 .

Then it tells you Expo supports SdkVersion: 10 through 31 inclusive, but within your app.json file you're trying to use version 32.

"sdkVersion": "32.0.0", "platforms": [ "ios", "android" ]

也许您可以尝试将该版本降低到31,然后查看是否可以解决您的问题:

Maybe you could try bumping that version down to 31 and seeing if that resolves your issue:

"sdkVersion": "31.0.0", "platforms": [ "ios", "android" ]

希望有帮助!

这篇关于Expo:无效的sdkVersion"32.0.0"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 05:42